How to run a single test in a test file

I forget the syntax for running a single test in a test file.

Do any of you know this instantly?

Thanks!
Jesper Rønn-Jensen
http://justaddwater.dk/

Found the answer on
http://softiesonrails.com/2007/3/7/how-to-run-a-single-test-from-the-command-line

In my case (running an integration test) I had to write:
ruby test\integration\all_pages_test.rb --name
test_movements_amounts_are_correct

I’m just posting it here for somebody else to benefit from :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs