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

89 views
Skip to first unread message

Martin Asser Hansen

unread,
Nov 5, 2013, 5:30:28 AM11/5/13
to 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.
Reply all
Reply to author
Forward
0 new messages