[ANN] test-loop 9.3.0

S

Suraj Kurapati

test-loop - Continuous testing for Ruby with fork/eval
9.3.0 https://github.com/sunaku/test-loop#readme


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:

1. Absorbs the test execution overhead into the main Ruby process.
2. Forks to run your test files without overhead and in parallel.
3. Avoids running unchanged test blocks inside changed test files.


What is new?
------------

New features:

* Resume currently running tests--as well as those currently needing to
be run--after reabsorbing test execution overhead. (Brian Burns)

* Stop currently running tests (and wait for them to finish) before
reabsorbing overhead. This greatly improves responsiveness because
worker processes are no longer there to compete with the new master
process for system resources.

* Notify user when running all tests and when exiting. (Brian Burns)

* Notify user when overhead changes instead of when restarting the loop.

* Use ANSI clear line command to erase control-key combinations
outputted by shells such as BASH and ZSH in test-loop's output.
(Brian Burns)

Bug fixes:

* `@last_ran_at` was being set during every iteration of the loop. This
is problematic when Ruby's `Time.now` is more precise than your
filesystem's modification timestamp. For example, in the ext3
filesystem under Linux, file modification timestamps have a precision
of 1 second. (Brian Burns)

* Exit gently on SIGINT by sending SIGTERM to all worker processes and
then running waitall(), instead of sending SIGKILL to the entire
process group. As a result, test-loop no longer exits with a non-zero
status upon SIGINT.

* Remove 'ansi' gem dependency. (Brian Burns)

Documentation:

* Add tip on deleting logs for passing tests. (Brian Burns)

* Add tip on monitoring test processes with watch(1) in README.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] test-loop 12.0.0 0
[ANN] test-loop 11.0.0 1
[ANN] test-loop 9.4.0 and 10.0.0 0
[ANN] test-loop 12.0.4 0
[ANN] test-loop 12.0.3 0
[ANN] test-loop 9.1.0 0
[ANN] test-loop 5.0.3 0
[ANN] test-loop 12.0.2 0

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top