Sha256: 021cbf294b53e1aa6a4d491acc038c82f27c72597d0663b63c58640e8833290b

Contents?: true

Size: 1.16 KB

Versions: 34

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 1
      end
      """
    Given SimpleCov for RSpec is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        merge_timeout 1
      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 2 seconds
    And I open the coverage report generated with `bundle exec rspec spec`
    Then the report should be based upon:
      | RSpec |

Version data entries

34 entries across 27 versions & 6 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/gems/simplecov-0.7.1/features/config_merge_timeout.feature
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-1.0.0 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-1.0.0.beta3 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_merge_timeout.feature
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-1.0.0.beta2 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-1.0.0.beta vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-0.9.1.beta.3 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
devise_sociable-0.1.0 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-0.9.1.beta vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-0.9.0 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/simplecov-0.6.4/features/config_merge_timeout.feature
challah-rolls-0.2.0 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-rolls-0.2.0 vendor/bundle/gems/simplecov-0.6.4/features/config_merge_timeout.feature
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/simplecov-0.6.4/features/config_merge_timeout.feature
challah-0.8.3 vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature
challah-0.8.3 vendor/bundle/gems/simplecov-0.6.4/features/config_merge_timeout.feature
simplecov-0.7.1 features/config_merge_timeout.feature