test/test_helper.rb
- code file to edit.rails test -v
- command to run tests and generate coverage report.coverage/index.html
- coverage report to view in web browser.require 'simplecov'
SimpleCov.start('rails') do
enable_coverage :branch
end