Building-the-rspec-command

Building the ‘rspec’ command

The transition from rspec to minitest isn't complete without an equivalent to rspec’s command-line test runner. Let's build an executable for minitest that is 'spec_helper' aware, runs all the specs by default, can run all specs in a directory, can run a single spec file, and even a spec by line number.

Topics covered

  • minitest
  • ruby executable

Duration 12 minutes

Name your price

$
Current price: $2.00