• Category Archives: tests

Testing Sinatra application methods in isolation with RSpec

Sometimes you may want to test some Sinatra app methods in isolation (outside of a standard request flow). You probably even tried to do something like this: Unfortunately you will end up with error like this: This will occur, because Sinatra’s App new method creates a Sinatra::Wrapper, not an App instance. Of course everything will […]

Read more at the source

Ruby programmers/project managers/CEOs Y U NO enforce code quality?

Introduction This post is a result of recent events with one of the companies that I work with. Sometimes, I help people because I want, sometimes because they pay me, mostly both ;). This time I’ve been helping one company decide on how to outsource their software development. They have many applications, some of them […]

Read more at the source