forked from sporkrb/spork
-
Notifications
You must be signed in to change notification settings - Fork 1
Using with test unit
Milhouse edited this page Sep 14, 2010
·
1 revision
- clone the testunit-spork gem
- install gem: will add testdrb as an executable
- copy the test_unit.rb file from the testunit-spork to the corresponding folder in the spork
lib/spork/test_frameworks
folder. - In your Rails app:
- don’t bootstrap. Seems to work without so far.
- In one console:
spork testunit
(ignore the bootstrap and other warnings) - In another console, run the list of tests:
testdrb test/unit/my_test_one.rb test/unit/my_test_two.rb