https://github.com/simplecov-ruby/simplecov
==================================
Add gem file:
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'simplecov', require: false
end
then install bundle install
==================================
Add a spec/spec_helper.rb
require 'simplecov'
RSpec.configure do |config|
SimpleCov.start 'rails'
end
==================================
No comments:
Post a Comment