Forum: Ruby Tork 19.8.0 - test with fork

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
79f9616c279f40ef953f366dcfe38dc8?d=identicon&s=25 Suraj Kurapati (sunaku)
on 2014-06-24 07:06
(Received via mailing list)

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

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

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

### 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'
        >> 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
                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.
This topic is locked and can not be replied to.