require 'simplecov'
require 'simplecov-rcov'
included
SimpleCov.start 'rails'
in spec_helper.rb class and ran the rpec/spec . But after running that when I navigate to 0.0.0.0:3000/coverage/index.html um getting this error
Routing Error
No route matches [GET] "/coverage/index.html"
what can possibly go wrong in here? Thank you in advance.
Instead of pasting the url into your browser, try running this in your terminal:
open coverage/index.html
See http://railscasts.com/episodes/252-metrics-metrics-metrics for more details.
Add the following to your Gemfile:
gem 'simplecov'
gem 'simplecov-rcov'
And run bundle install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With