A basic runner for MiniTest as a shell script! Requires bash >= 4.0.
mkdir -p ~/bin && curl https://raw.github.com/gist/3705372/2f591ce427e21dab7685f7c743272827c8e8cf4f/minitest > ~/bin/minitest && chmod +x ~/bin/minitest
Put the ~/bin
directory in your PATH
.
Run a single test:
$ minitest path/to/my_test.rb
Run all tests under one directory:
$ minitest test/functional
Run all tests under test
:
$ minitest
This was made by Josep M. Bach (Txus) under the MIT license. I'm @txustice on twitter (where you should probably follow me!).