Skip to content

Commit

Permalink
Add more general feature test to guard against warning regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Oct 25, 2020
1 parent c1c9395 commit 7a37131
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions features/warnings.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@rspec
Feature:

Running SimpleCov with verbosity enabled does not yield warnings.

Background:
Given I'm working on the project "faked_project"

Scenario:
Given SimpleCov for RSpec is configured with:
"""
require 'simplecov'
SimpleCov.start
"""

When I successfully run `bundle exec rspec --warnings spec`
Then a coverage report should have been generated
And the output should not contain "warning"

0 comments on commit 7a37131

Please sign in to comment.