forked from sporkrb/spork-testunit
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Milhouse edited this page Sep 14, 2010
·
2 revisions
This is a forked repository. Have a look at
timcharper’s spork-testunit wiki
for more information.
gem install spork-testunit
- Don’t bootstrap the test helper file for testunit. You don’t need to, and it doesn’t work with test unit.
- In one console, run:
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
This fork lets you run all the tests under a folder in your project:
- to recursively run all *_test.rb files in a folder:
-
testdrb test
: to run all tests under test folder -
testdrb test/unit
: to only run unit tests in Rails
-
The test file doesn’t exist:
- C:/ruby187/lib/ruby/1.8/drb/drb.rb:1095:in `method_missing’: MissingSourceFile (DRb::DRbUnknownError)