1. Computing

Discuss in my forum

Running Test::Units Rake Task

By , About.com Guide

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
Started
.
Finished in 0.09121 seconds.

1 tests, 1 assertions, 0 failures, 0 errors
Top Related Searches test units rake assertions gems ruby lib
  1. About.com
  2. Computing
  3. Ruby
  4. Ruby on Rails
  5. Test-Driven Rails
  6. Running Test::Units Rake Task

©2013 About.com. All rights reserved.