Gim does not show points for the passed test

The Ruby test gem does not show points for the past test. I work on Ubuntu 11.04.

It shows "E" and "F" for failure, but nothing for passage. This problem will disappear if I comment on the gem 'test-unit' line gem 'test-unit' , but in this case the functions of the 2.x test block (for example, omit, pend) are not available.

+6
source share
2 answers

I would prefer to use a "turn" gem for more enjoyable output for testing.

Just install gem turn and use it in your application.

+1
source

If you are using Ruby 1.9, have you tried MiniTest? It includes in Ruby, and the output is well formatted,

83 tests, 106 statements, 0 errors, 0 errors, 1 omissions

You can learn more about MiniTest here.

+1
source

Source: https://habr.com/ru/post/891373/


All Articles