just in ram

A list of stuff I should remember but never do

Ruby unit tests – run only one test method

without comments

What if you don’t wish to run all the unit tests in your test case?

You can tell ruby to run only one test method by passing in the name of the test:

  ruby test_mytestcase.rb --name test_just_this_method

Written by Justin Ramel

March 30th, 2006 at 9:04 pm

Posted in Ruby, Testing, Watir

Leave a Reply