Version 13.0.0 (2011-08-24)
test-loop - Continuous testing for Ruby with fork/eval
GitHub - sunaku/test-loop: MOVED TO sunaku/testr
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?
Incompatible changes:
- Pass worker sequence number as the last argument to lambda
functions inTest::Loop.before_each_test
and
Test::Loop.after_each_test
arrays.
New features:
-
In the
test/loop/rails
configuration preset:-
Automatically test a controller when its model or factory is
modified. -
Warn the user if Railtie (Rails 3) is not available for
automatic disabling of Rails’ class caching mechanism under the
test environment.
-
-
Add
test/loop/parallel_tests
configuration preset for
parallel_tests gem. (Corné
Verbruggen) -
Assign rotating sequence numbers to workers so that you can handle
parallel processes like connecting to separate databases better.
(Corné Verbruggen)
Housekeeping:
-
README: move configuration presets above options.
-
Eliminate 1 SLOC: .rb extension used in file glob.
-
Turn off executable bit on loop.rb file mode.
-
Pass child ENV directly to exec() for atomicity.