Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ruby test unit gem doesn't show dots for passed test

Tags:

ruby

testunit

Ruby test unit gem doesn't show dots for passed test. I'm running on Ubuntu 11.04 .

It shows 'E' and 'F' for failure, but nothing for pass. This problem dissapears if I comment gem 'test-unit' line, but in that case test-unit 2.x features (like omit, pend) is not available.

like image 855
m.silenus Avatar asked Jun 26 '11 05:06

m.silenus


2 Answers

I would prefer to use 'turn' gem for more pretty output for the testing.

Just install the gem turn and use it in your app.

like image 197
uday Avatar answered Nov 19 '22 19:11

uday


If you're using Ruby 1.9 did you try MiniTest? It's include in Ruby and the output is well formatted,

83 tests, 106 assertions, 0 failures, 0 errors, 1 skips

You can learn more about MiniTest here

like image 38
Frank Boucher Avatar answered Nov 19 '22 19:11

Frank Boucher