Is it possible to run a single test in MiniTest?

I can run all tests in a single file with:

rake test TEST=path/to/test_file.rb

However, if I want to run just one test in that file, how would I do it?

I’m looking for similar functionality to:

rspec path/to/test_file.rb -l 25

15 Answers
15

Leave a Comment