Forum: Ruby Tork 19.8.0 - test with fork

79f9616c279f40ef953f366dcfe38dc8?d=identicon&s=25 Suraj Kurapati (sunaku)
on 2014-06-24 07:06
(Received via mailing list)
Manuals: http://sunaku.github.io/tork
Sources: https://github.com/sunaku/tork
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.8.0 (2014-06-23)

### Minor:

  * Add `bundler` configuration helper to load a bundle into
tork-master(1).

    This lets you run Tork inside any application that uses Bundler
without
    having to first add Tork to its `Gemfile` and then `bundle install`
it.
    In fact, installing the Tork gem _outside_ of the bundle is
sufficient.

    Try it: go into a bundled application and call `tork` to run its
tests!

### Patch:

  * Server: fix crash when Fixnum is sent as a message.

        lib/tork/server.rb:45:in `block (2 levels) in loop':
        undefined method `empty?' for 6:Fixnum (NoMethodError)

        lib/tork/cliapp.rb:59:in `recv':
        undefined method `lstrip' for 6:Fixnum (NoMethodError)

    Because JSON.load() and JSON.parse() are different:

        $ irb -r json
        >> JSON.load '6'
        6
        >> JSON.parse '6'
        JSON::ParserError: A JSON text must at least contain two octets!
                from /usr/lib/ruby/2.1.0/json/common.rb:155:in
`initialize'
                from /usr/lib/ruby/2.1.0/json/common.rb:155:in `new'
                from /usr/lib/ruby/2.1.0/json/common.rb:155:in `parse'
                from (irb):2
                from /usr/bin/irb:11:in `<main>'

### Other:

  * Upgrade to md2man 3.0 for improved HTML manuals.
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.