Ruby: Run Test::Unit/Minitest/Shoulda by line-number

If you like test::unit or are simply stuck with it, this works great on ruby 1.8 and 1.9+, have fun 🙂

gem install testrbl

testrbl test/unit/xxx.rb:15 # test or should or context on line 15
testrbl test/ # all tests in xxx.rb
testrbl test/unit # all tests in folder

testrbl: run Test-unit + shoulda + minitest by line

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s