Sha256: 1f85aa86481c685e2f826f9538d0f011e6ba67177732fc5cf4b38810b7881b6b
Contents?: true
Size: 729 Bytes
Versions: 2
Compression:
Stored size: 729 Bytes
Contents
@rspec Feature: Using the setting `tracked_files` should classify whether lines are relevant or not (such as whitespace or comments). Scenario: Given SimpleCov for RSpec is configured with: """ require 'simplecov' SimpleCov.start do track_files "lib/**/*.rb" end """ Given a file named "lib/not_loaded.rb" with: """ # A comment line. Plus a whitespace line below: # :nocov: def ignore_me end # :nocov: def this_is_relevant puts "still relevant" end """ When I open the coverage report generated with `bundle exec rspec spec` Then I follow "lib/not_loaded.rb" Then I should see "3 relevant lines" within ".highlighted"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simplecov-0.15.1 | features/config_tracked_files_relevant_lines.feature |
simplecov-0.15.0 | features/config_tracked_files_relevant_lines.feature |