1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Running Test::Units Rake Task


Running Test::Units Rake Task

Now that we have a test (albeit a useless test), we can run tests and see them go. Simply run the test:units rake task to see the tests run. It should run our single test and it should pass.

$ rake test:units
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
Finished in 0.09121 seconds.

1 tests, 1 assertions, 0 failures, 0 errors

©2014 About.com. All rights reserved.