Sha256: 290be9aa1ab8051347cb2033146704bb3391606195af0b011c2797a2fee737c5

Contents?: true

Size: 1.13 KB

Versions: 29

Compression:

Stored size: 1.13 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 open the coverage report generated with `bundle exec rspec spec`
    Then the report should be based upon:
      | RSpec |

Version data entries

29 entries across 24 versions & 2 rubygems

Version Path
challah-0.6.2 vendor/bundle/gems/simplecov-0.6.1/features/config_merge_timeout.feature
challah-0.6.1 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.6.1 vendor/bundle/gems/simplecov-0.6.1/features/config_merge_timeout.feature
challah-0.6.0 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.6.0 vendor/bundle/gems/simplecov-0.6.1/features/config_merge_timeout.feature
simplecov-0.6.2 features/config_merge_timeout.feature
challah-0.5.4 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.5.4 vendor/bundle/gems/simplecov-0.6.1/features/config_merge_timeout.feature
challah-0.5.3 vendor/bundle/gems/simplecov-0.6.1/features/config_merge_timeout.feature
challah-0.5.3 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.5.2 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.5.2 vendor/bundle/gems/simplecov-0.6.1/features/config_merge_timeout.feature
challah-0.5.1 vendor/bundle/gems/simplecov-0.6.1/features/config_merge_timeout.feature
simplecov-0.6.1 features/config_merge_timeout.feature
simplecov-0.6.0 features/config_merge_timeout.feature
challah-0.5.0 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.4.1 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.4.0 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.3.5 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature
challah-0.3.4 vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature