Sha256: c886a92df1307d79cd90bfb214afeaa32b82fa175fa38815aab43179b3f74276

Contents?: true

Size: 824 Bytes

Versions: 65

Compression:

Stored size: 824 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" within "title"

  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" within "title"

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_project_name.feature
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_project_name.feature
tdiary-5.0.9 vendor/bundle/gems/simplecov-0.14.1/features/config_project_name.feature
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/simplecov-0.9.2/features/config_project_name.feature
tdiary-5.0.7 vendor/bundle/gems/simplecov-0.9.2/features/config_project_name.feature
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature
tdiary-5.0.6 vendor/bundle/gems/simplecov-0.9.2/features/config_project_name.feature
simplecov-0.15.1 features/config_project_name.feature
simplecov-0.15.0 features/config_project_name.feature
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_project_name.feature
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_project_name.feature
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_project_name.feature
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_project_name.feature
tdiary-5.0.5 vendor/bundle/gems/simplecov-0.9.2/features/config_project_name.feature
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/simplecov-0.9.2/features/config_project_name.feature
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/simplecov-0.14.1/features/config_project_name.feature