[openstreetmap/openstreetmap-website] Adjust testing instructions for change from rcov to simplecov (#2066)
krubokrubo
notifications at github.com
Sat Nov 17 05:03:31 UTC 2018
The [testing instructions in Contributing.md](https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md) say you can generate test coverage stats with: `sudo gem install rcov; rcov -x gems test/*/*.rb`
However, [rcov does not work with Ruby 1.9+](https://github.com/relevance/rcov/issues/99) and says to use simplecov instead. Ideally, Contributing.md should be updated with the best practice for how to do so. I figured out [one way to do it](https://github.com/lemurheavy/coveralls-public/issues/881) but I'm not sure if it's the best practice.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2066
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181116/123eb758/attachment.html>
More information about the rails-dev
mailing list