picostitch
crafting (and) JavaScript

Decoupling from Rails

A very good talk by Jim Weirich, where he shows how to pull the meat, the actual business logic out of a rails app to make it testable in a fast manner concludes with a very interesting idea.

In the last minute of his talk he presents an idea, where he proposes to use (cucumber) tests as fast tests and flipping a switch to make them be your integration tests, that integrate the web pieces and allow a more thorough, but slower test run.