[ANN] test-loop 9.4.0 and 10.0.0

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:

  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?

Version 10.0.0 (2011-04-06)

Incompatible changes:

  • The Test::Loop.before_each_test and Test::Loop.after_each_test
    parameters are arrays now.

Version 9.4.0 (2011-04-06)

New features:

  • Allow lambda functions in Test::Loop.test_file_matchers to return
    nil so that you can exclude certain tests from being executed.
    (Brian B.)

  • 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'

Bug fixes:

  • Skip 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.