Tork - Test with fork - GitHub - sunaku/tork: π Tests your Ruby code, in parallel, as you change it
___ /___________ /__
_ _/ __ \ / //
/ // // / / / ,
_/_// //|_
>>>------>
What is it?
Tork is a continuous testing tool for Ruby that automatically
detects and tests changes in your Ruby application or test suite
in an efficient manner:
-
Absorbs your test execution overhead into a master process.
-
Forks to run your test files in parallel; overhead inherited.
-
Avoids running unchanged tests inside changed test files.
What is new?
Improvements:
-
Added
Tork::Config.test_event_hooksconfiguration option. -
Added
tork/config/notifyconfiguration helper for receiving
edge-triggered notifications (via libnotify, growl, or
xmessage) about changes in test filesβ pass/fail status. -
Added
tork/config/factory_girlconfiguration helper for properly
clearing factory definitions before forking and then finding them
after forking to avoidFactoryGirl::DuplicateDefinitionError.
(Mark H.) -
Lambda functions in
Tork::Config.test_file_globberscan now return
multiple globs in an array, in addition to either a single glob or
nil. -
Added support for the MiniTest convention of naming test files as
test/**/test_*.rbandspec/**/spec_*.rb. (Jose Pablo Barrantes)