2006/12/19, Zouplaz <user / domain.invalid>:> le 19/12/2006 15:13, Rob Sanheim nous a dit:> > 1) run the single failing test method in question by itself> > 2) run the functional test case in question by itself> > 3) run the functional test suite by itself> >> > These steps will often turn up issues where fixtures aren't specified> > where they should be, or where test order is playing a part (where it> > shouldn't be).>> Good idea, but what is the rake command to only run a test method, a> test case or a test suite ? # Run one test methodruby test/functional/some_controller_test.rb -n test_this_specific_method # Run one test caseruby test/functional/some_controller_test.rb # Run functionals onlyrake test:functionals There's also:rake test:functionals TEST=test/functional/some_controller_test.rb I prefer to call the rb file directly though. Hope that helps !-- François Beausoleilhttp://blog.teksol.info/http://piston.rubyforge.org/