I've been trying to get started with mutation testing for our rails app, but haven't been able to get it working - has anyone managed to set this up?
Here's what I've tried so far:
mutant -I app/models -r foo "Foo#bar" foo_spec.rb
.../trunk/app/models/foo.rb:24:in `<top (required)>': uninitialized constant ActiveRecord (NameError)
I've also tried loading the activerecord gem directly using -I, the gem is already installed in the current rvm gemset - I've got a feeling that this'll involve some more complete setup to use the database.yml, unfortunately I can't seem to find anyone who has done this already.