Forum: Ruby Tork 19.9.0 - test with fork

79f9616c279f40ef953f366dcfe38dc8?d=identicon&s=25 Suraj Kurapati (sunaku)
on 2014-07-17 23:28
(Received via mailing list)
Manuals: https://sunaku.github.io/tork/man
Sources: https://github.com/sunaku/tork
Support: https://github.com/sunaku/tork/issues
Package: https://rubygems.org/gems/tork


Tork runs your tests as they change, in parallel:

  1. Absorbs test execution overhead into a master process.
  2. Forks to inherit overhead and run test files in parallel.
  3. Avoids running unchanged tests inside changed test files.


## Version 19.9.0 (2014-07-17)

### Minor:

  * Add support for testing outside `test/` and `spec/` directories.
This
    change lets you run test files directly from the current working
directory
    without having to put them inside special `test/` and `spec/`
directories.

    This can be useful if you are learning Ruby or writing tests for
simple
    scripts because you need not create a directory structure that is
fit for
    a larger application just for the sole purpose of running your
tests!

  * Drop the `default` configuration helper and load the `config.rb`
files of
    all configuration helpers on startup instead.  This way, each helper
can
    itself detect whether it is needed from inside its own `config.rb`
file.

  * Censor Tork internals from test failure backtraces so that users can
    inspect them quickly to find where errors are arising in their code.

### Patch:

  * Only 1 worker was being used on a dual-core system.

### Other:

  * tork(1): use complete sentences in the help message.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.