Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Run ruby Test::Unit/Shoulda tests by line-number / folder / the dozen.

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Readme.md
Octocat-spinner-32 testrbl.gemspec
Readme.md

Run ruby Test::Unit/Shoulda/Minitest tests by line-number / folder / the dozen.
(everything not matching "file:line" is simply passed to testrb)
Instant execution, 0 wait-time!

Install

gem install testrbl

Usage

testrbl test/unit/xxx_test.rb:123 # test by line number
testrbl test/unit                 # everything _test.rb in a folder (on 1.8 this would be test/unit/*)
testrbl xxx_test.rb yyy_test.rb   # multiple files
testrbl --changed                 # run changed tests

Tips

  • can't find executable testrb: uninstall old version of test-unit, they define testrb in multiple incompatible ways

TODO

  • fix tests on ree/1.9.2
  • alternate minitest syntax: test_0017_should not link already linked URLs

Author

Michael Grosser
michael@grosser.it
License: MIT
Build Status

Something went wrong with that request. Please try again.