Search code examples
ruby-on-rails-3.1ruby-1.9.2testunit

Missing progress dots and 0% passed in rails test output (Test Unit, Rails 3.1 rc6, Ruby 1.9.2)


My tests all pass and my results look like this:

Started

Finished in 361.988408 seconds.

479 tests, 1017 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 0% passed

Why don't I see the usual progress dots I used to see in rails 2.3? And why does it say "0% passed"? I wonder if the dots turned white and are actually there, in the seemingly blank space? I don't like to change my terminal to have black background. ;-)

Also in my unit tests it says "Finished in 0.0 seconds". which is clearly wrong.


Solution

  • Okay, I found a solution to this: I replaced the test-unit gem in my gem file with the minitest gem. That fixed the test output.