How to use Ruby's simplecov with non-Rails applications?

89 de afișări
Accesați primul mesaj necitit

Martin Asser Hansen

necitită,
5 nov. 2013, 05:30:2805.11.2013
– simp...@googlegroups.com
I would like to setup simplecov on a non-Rails application, but the resulting coverage report indicates that my code is not tested, e.g. Hamming.distance is not tested, which it is?!?

I included the `require 'simplecov' and `SimpleCov.start` in this test helper:


Here is the application code:


And the test:


I run Rake test to create the coverage report.
Răspundeți tuturor
Răspundeți autorului
Redirecționați
0 mesaje noi