Sha256: 7fb033b8470ebf057ad99cfb200ccc0ea232d03afb3cb975a7cec0e8d71dd1a1

Contents?: true

Size: 1.04 KB

Versions: 63

Compression:

Stored size: 1.04 KB

Contents

@test_unit @rspec @merging @config
Feature: Custom names for individual test suites

  Each test suite needs a name it can be identified by. SimpleCov tries
  best to detect Rails' Unit, Functional, Integration tests as well as regular
  Test/Unit, RSpec and Cucumber, but if that is insufficient, each test suite
  config can be given a custom command name using SimpleCov.command_name.

  Scenario:
    Given SimpleCov for Test/Unit is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        command_name "I'm in UR Unitz"
      end
      """
    Given SimpleCov for RSpec is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        command_name "Dreck macht Speck"
      end
      """

    When I open the coverage report generated with `bundle exec rake test`
    Then the report should be based upon:
      | I'm in UR Unitz |

    When I open the coverage report generated with `bundle exec rspec spec`
    Then the report should be based upon:
      | Dreck macht Speck |
      | I'm in UR Unitz   |

Version data entries

63 entries across 48 versions & 6 rubygems

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