sporkrb / spork-testunit

Test::Unit support for Spork
67 stars 27 forks source link

Added support for -r and -e #32

Closed BMorearty closed 13 years ago

BMorearty commented 13 years ago

-r allows executing a require statement from the command line.

-e allows executing arbitrary ruby from the command line.

These two options will enable a fix for issue guard/guard-minitest#11 in the guard-minitest repo: "No notification when running with spork server." With the fix, you can run your test suite under guard with spork and test-unit, and get a growl notification (if you wish) when each time the tests are complete.

I am about to send a pull request in the guard-minitest repo asking them to take the other part of this fix.