Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 740
Nico Avatar asked Nov 05 '22 16:11

Nico


1 Answers

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.

like image 102
Nico Avatar answered Nov 09 '22 13:11

Nico