test-loop - Continuous testing for Ruby with fork/eval
What is it?
test-loop is a fast continuous testing tool for Ruby that automatically
detects and tests changes in your application in an efficient manner:
- Absorbs the test execution overhead into the main Ruby process.
- Forks to run your test files without overhead and in parallel.
- Avoids running unchanged test blocks inside changed test files.
What is new?
Version 10.0.0 (2011-04-06)
parameters are arrays now.
Version 9.4.0 (2011-04-06)
Allow lambda functions in
nilso that you can exclude certain tests from being executed.
Prefix worker process title with “test-loop” for easier ps(1)
searchability. The monitoring command in the README is now simplified
to the following:
watch 'ps xf | grep test-loop | sed 1,3d'
at_exit()when exiting master process. This prevents an empty
test from being run when exiting the loop after having processed a
test/spec helper that loads the Test::Unit library. (Brian B.)
Use throw/catch to break loop instead of raising SystemExit exception.
Trap SIGTERM with IGNORE/DEFAULT instead of using a closure in master.
Unregister master’s custom signal handlers inside worker processes.
Separate configuration parameters into subsections in README.