Manuals: http://sunaku.github.io/tork
Sources: GitHub - sunaku/tork: π Tests your Ruby code, in parallel, as you change it
Package: tork | RubyGems.org | your community gem host
Tork runs your tests as they change, in parallel:
- Absorbs test execution overhead into a master process.
- Forks to inherit overhead and run test files in parallel.
- 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 itsGemfile
and thenbundle 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
β
Other:
- Upgrade to md2man 3.0 for improved HTML manuals.