Wednesday, April 7, 2010

Using minitest for speedier unit tests

sudo gem install minitest # Install MiniTest
sudo gem install minitest_tu_shim # Install Test::Unit shim
sudo use_minitest yes

GOTCHA

If you've freezed rails into a project then trying to script/server will throw the following error.

.../vendor/rails/activesupport/lib/active_support/dependencies.rb:445:in `load_missing_constant': uninitialized constant Test (NameError)

No comments: