From: Tony Arcieri Date: 2011-08-25T10:37:22+09:00 Subject: Re: [ANN] test-loop 13.0.0 --0015174c18ae230ac904ab4a78f1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Have you considered using posix_spawn instead of fork? https://github.com/rtomayko/posix-spawn This sounds like it'd be super useful on JRuby due to JRuby's startup time, however JRuby doesn't support fork On Wed, Aug 24, 2011 at 7:17 AM, Suraj Kurapati wrote: > Version 13.0.0 (2011-08-24) > > test-loop - Continuous testing for Ruby with fork/eval > 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? > ------------ > > Incompatible changes: > > * Pass worker sequence number as the last argument to lambda > functions in `Test::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=E9 > Verbruggen](https://github.com/sunaku/test-loop/issues/9)) > > * Assign rotating sequence numbers to workers so that you can handle > parallel processes like connecting to separate databases better. > ([Corn=E9 Verbruggen](https://github.com/sunaku/test-loop/pull/10)) > > 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. > > -- > Posted via http://www.ruby-forum.com/. > --=20 Tony Arcieri --0015174c18ae230ac904ab4a78f1--