Sha256: e29fe77b38ac813d23ee55fe6b4996200ed4feb471ce3f93e6162fb0e0ce3f2c

Contents?: true

Size: 794 Bytes

Versions: 63

Compression:

Stored size: 794 Bytes

Contents

@test_unit @config
Feature:

  SimpleCov guesses the project name from the project root dir's name.
  If this is not sufficient for you, you can specify a custom name using
  SimpleCov.project_name('xyz')


  Scenario: Guessed name
    Given SimpleCov for Test/Unit is configured with:
      """
      require 'simplecov'
      SimpleCov.start
      """

    When I open the coverage report generated with `bundle exec rake test`
    Then I should see "Code coverage for Project"

  Scenario: Custom name
    Given SimpleCov for Test/Unit is configured with:
      """
      require 'simplecov'
      SimpleCov.start { project_name "Superfancy 2.0" }
      """

    When I open the coverage report generated with `bundle exec rake test`
    Then I should see "Code coverage for Superfancy 2.0"

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_project_name.feature
candlepin-api-0.4.0 bundle/ruby/gems/simplecov-0.7.1/features/config_project_name.feature
challah-1.0.0 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-1.0.0.beta3 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_project_name.feature
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/simplecov-0.7.1/features/config_project_name.feature
challah-1.0.0.beta2 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-1.0.0.beta vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-0.9.1.beta.3 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
devise_sociable-0.1.0 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-0.9.1.beta vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-0.9.0 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-rolls-0.2.0 vendor/bundle/gems/simplecov-0.6.4/features/config_project_name.feature
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/simplecov-0.6.4/features/config_project_name.feature
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/simplecov-0.6.4/features/config_project_name.feature
challah-rolls-0.2.0 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
challah-0.8.3 vendor/bundle/gems/simplecov-0.6.4/features/config_project_name.feature
challah-0.8.3 vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature
simplecov-0.7.1 features/config_project_name.feature