In the past, I've run Rails + RSpec + autotest. Now I've upgraded to ruby 2.0 and I want to use minitest in a non-Rails environment (I'm using Padrino / DataMapper). I'm certain I'm not alone in wanting this.
What would be really useful is a concise recipe for installing and configuring things so the simple command:
$ autotest
or
$ bundle exec guard
will start testing everything under /test. I have searched SO and the InterWebs, and have yet to find such a recipe. A recipe should include:
- what gems should you include in your Gemfile?
- what commands do you run to set up the environment?
- what configuration and support files do you need to create (Rakefile? .autotest? etc...)
- a means for test files to
require 'test_helper'
to take care of repetitive functions
Extra credit for showing how to configure growl and spork for the full-on XP experience!