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/unit.xxx.rb # all tests in xxx.rb
testrbl test/unit # all tests in folder

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

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s