Project

testrbl

0.01
Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
Run ruby Test::Unit/Shoulda tests by line-number / folder / the dozen
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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

or standalone

curl https://rubinjam.herokuapp.com/pack/testrbl > testrbl && chmod +x 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 or files in last commit

Tips

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

TODO

  • alternate minitest syntax: test_0017_should not link already linked URLs

Author

Michael Grosser
michael@grosser.it
License: MIT
CI