Sha256: 79ec0137dca6976befecb1830ec9044b9d2d19ecdc85b40d2124d1af3d0e7baf

Contents?: true

Size: 1.16 KB

Versions: 65

Compression:

Stored size: 1.16 KB

Contents

@test_unit @rspec @merging @config
Feature:

  The maximum time between resultset merges can be customized
  using SimpleCov.merge_timeout SECONDS. This can be helpful for
  long-running test-suites that fail to merge because of the time
  between individual suite finishes is more then the default timeout
  of 10 minutes.

  Here, for the sake of testing the opposite case is shown, choosing
  a merge timeout so short that the first test suite's results actually
  are out of date when the second suite finishes and thus does not end up
  in the report.

  Scenario:
    Given SimpleCov for Test/Unit is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        merge_timeout 5
      end
      """
    Given SimpleCov for RSpec is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        merge_timeout 5
      end
      """

    When I open the coverage report generated with `bundle exec rake test`
    Then the report should be based upon:
      | Unit Tests |

    When I wait for 5 seconds
    And I open the coverage report generated with `bundle exec rspec spec`
    Then the report should be based upon:
      | RSpec |

Version data entries

65 entries across 64 versions & 14 rubygems

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