Lightning Talk: Glint - Fires Arbitrary TCP Server Processes For Tests
Kentaro Kuribayashi • June 07, 2013 • Singapore • Lightning Talk
We use many middlewares like memcached, redis, and some other TCP servers. When we test our app, stubbing out connections to such servers can be useful. However, we can't confirm if our code works actually fine in real situation.
Glint is a library which allows users to fire up arbitrary TCP servers and test against those real servers without stubbing. While it's a very tiny tool, it can be used in various way combined with many servers. I'll provide a way to solve the problem described above using Glint and show you some examples how to use it.
Red Dot Ruby Conference 2013