Sha256: 19885c40b55804c0475b51d7e82ba967cdf80816ac99040dc3f2d54d713948e6

Contents?: true

Size: 986 Bytes

Versions: 64

Compression:

Stored size: 986 Bytes

Contents

@test_unit @config
Feature:

  The output directory for test coverage can be customized
  with the SimpleCov.coverage_dir setting. All coverage reports
  will be put there instead of the default 'coverage' directory
  in your project's root.

  Scenario:
    Given SimpleCov for Test/Unit is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        coverage_dir 'test/simplecov'
      end
      """

    When I successfully run `bundle exec rake test`
    Then a coverage report should have been generated in "test/simplecov"
    And a directory named "coverage" should not exist

  Scenario:
    Given SimpleCov for Test/Unit is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        coverage_dir '/tmp/test/simplecov'
      end
      """

    When I successfully run `bundle exec rake test`
    Then a coverage report should have been generated in "/tmp/test/simplecov"
    And a directory named "coverage" should not exist

Version data entries

64 entries across 63 versions & 14 rubygems

Version Path
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature
tdiary-5.0.9 vendor/bundle/gems/simplecov-0.14.1/features/config_coverage_dir.feature
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/simplecov-0.9.2/features/config_coverage_dir.feature
tdiary-5.0.7 vendor/bundle/gems/simplecov-0.9.2/features/config_coverage_dir.feature
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature
tdiary-5.0.6 vendor/bundle/gems/simplecov-0.9.2/features/config_coverage_dir.feature
simplecov-0.15.1 features/config_coverage_dir.feature
simplecov-0.15.0 features/config_coverage_dir.feature
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_coverage_dir.feature
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_coverage_dir.feature
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_coverage_dir.feature
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_coverage_dir.feature
tdiary-5.0.5 vendor/bundle/gems/simplecov-0.9.2/features/config_coverage_dir.feature
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/simplecov-0.9.2/features/config_coverage_dir.feature
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/simplecov-0.14.1/features/config_coverage_dir.feature