I’m pleased to announce TestR (was test-loop) which now follows the
UNIX philosophy of small text-based programs that do one thing well.
The complete release notes and details are below. Happy testing.
TestR - Continuous testing tool for Ruby https://github.com/sunaku/testr#readme
What is it?
TestR is a continuous testing tool for Ruby that efficiently
detects and tests changes in your Ruby application & test suite:
- Absorbs test execution overhead into the master Ruby process.
- Forks to run your test files in parallel and without overhead.
- Avoids running unchanged tests inside changed test files.
What is new?
Renamed this project and its resources from test-loop to TestR.
reabsorb_file_globsconfiguration parameter to
reabsorb_file_greps. It now contains regular expressions.
test_file_matchersconfiguration parameter to
test_file_globbers. Its keys are now regular expressions.
test_name_parserconfiguration parameter to
max_concurrent_testsconfiguration parameter to
before_each_testconfiguration parameter to
after_fork_hooks. Its function parameters have also changed.
The file system is no longer polled to detect modified files.
Instead, the file system is monitored for file modification events
in a portable and efficient manner using the
The number of processors on your system is automatically detected
Added ability to re-run passed and failed tests in the
test-loopscript has been replaced by several
smaller ones that communicate with each other using single-line
JSON messages via their standard input & output streams. See
“Architecture” in README for details.
Now using Bundler to manage development dependencies and gem