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?
Switch from shell-script style to modular Ruby style in the source
code. This yields more lines of code, but the result is much easier
$test_loop_configglobal variable with the
Do not wait for all test runs to finish before detecting more changes.
Capture test run output into separate log files; one log per test
before_each_testfunction is now passed the path to a log file.
Register signal handlers at the earliest and act upon signals
Previously, SIGQUIT did not work if there were no test helpers.
Send the SIGUSR1 signal to terminate workers and their subprocesses.
Break long lines at 80 characters in the source code.