Ruby – Test::Unit – Invoke a single test from the command line

Sometimes you don’t want to execute your while test suite but only a single test of it. Actually this is easy as pie. Just append –name and the name of the test method.

ruby your_test.rb --name test_new_call_a_doesn_pick_up

That’s it.

Kommentarfunktion ist deaktiviert