You can use simplecov to generate report. Now let's move on to controller test!
build-assets-image` RSPEC_FAIL_FAST_ENABLED: "true" # Set it to "false" to disable RSpec fail-fast SIMPLECOV
name: 'metasploit-framework' gem 'sqlite3', '~>1.3.0' gem 'pry-byebug' # separate from test as simplecov is not run on travis-ci group :coverage do # code coverage for tests gem 'simplecov' end 然后修改配置文件
.noarch rubygem-simplecov noarch rubygem-simplecov-html