ruby test unit gem doesn't show dots for passed test
Asked Answered
R

2

6

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.

Relentless answered 26/6, 2011 at 5:1 Comment(5)
Have you checked whether there's a command line option for showing/hiding dots?Blemish
What is the exact command you use to run our tests? Test unit does have different verbose levels that you can specify from the command line.Aquifer
Also, the version of Ruby you are runningActinal
Please post the output of: ruby --version and gem env.Mel
Can you paste your test-unit.yml? More info on configuration here: rubydoc.info/gems/test-unit/2.4.0/Test/UnitLabelle
M
1

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.

Maillot answered 20/12, 2011 at 20:28 Comment(1)
turn isn't compatible with Test::Unit 2 github.com/guard/guard-test/issues/8#issuecomment-2242319Antoninus
M
1

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

Medick answered 25/1, 2012 at 1:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.