Running tests with Minitest

There are a few ways to run specific files or tests with Minitest:

Run a single test file:

rake test TEST=test/features/test_site.rb

Run a single test:

rake test TEST=test/features/test_site.rb TESTOPTS="--name=test_foobar -v"

Run tests from a single directory:

rake test TEST=test/features/foobar/*.rb

Run tests from a single directory and its sub-subdirectories:

rake test TEST=test/features/**/*.rb