> Ruby unit tests – run only one test method
Ruby unit tests – run only one test method
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