Up until now, running single tests has been pretty cumbersome with one having to pass in some regex of the test name. This would be fairly slow to run start-up and hard to remember the exact command, plus having to fish out the name of the test.
Rails 5 brought in the ability to Minitest for running single tests via the line number, however this has been broken due to a bug in
minitest-spec-rails which can be seen here.
I fixed this in foreman with an in PR #5856. This fix allows us to be able to run single tests like so:
$ bundle exe rails test test/integration/about_test.rb:14
and files as:
$ bundle exe rails test test/integration/about_test.rb
There still lies the issue of running single file/tests of a plugiin, I am working on a solution to this and will post my findings