Sha256: 0a6e46cb384cafc32b8a53f43a9b3fdcbc49bec7fa5d409c5b0299708758f353

Contents?: true

Size: 849 Bytes

Versions: 32

Compression:

Stored size: 849 Bytes

Contents

Feature: Nested example groups

  As an RSpec user
  I want to nest examples groups
  So that I can better organize my examples

  Scenario Outline: Nested example groups
    Given a file named "nested_example_groups.rb" with:
    """
    require 'spec/autorun'

    describe "Some Object" do
      describe "with some more context" do
        it "should do this" do
          true.should be_true
        end
      end
      describe "with some other context" do
        it "should do that" do
          false.should be_false
        end
      end
    end
    """
    When I run "<Command> nested_example_groups.rb -fs"
    Then the stdout should include /Some Object with some more context/
    And the stdout should include /Some Object with some other context/

  Scenarios: Run with ruby and spec
    | Command |
    | ruby    |
    | spec    |

Version data entries

32 entries across 32 versions & 11 rubygems

Version Path
rspec-instructure-1.3.3 features/example_groups/nested_groups.feature
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-1.3.2/features/example_groups/nested_groups.feature
rspec-1.3.2 features/example_groups/nested_groups.feature
rspec-1.3.1 features/example_groups/nested_groups.feature
rspec-1.3.1.rc features/example_groups/nested_groups.feature
rspec-1.3.0 features/example_groups/nested_groups.feature
hubbub-0.0.11 lib/vendor/plugins/rspec/features/example_groups/nested_groups.feature
hubbub-0.0.10 lib/vendor/plugins/rspec/features/example_groups/nested_groups.feature
hubbub-0.0.9 lib/vendor/plugins/rspec/features/example_groups/nested_groups.feature
hubbub-0.0.8 lib/vendor/plugins/rspec/features/example_groups/nested_groups.feature
hubbub-0.0.6 lib/vendor/plugins/rspec/features/example_groups/nested_groups.feature
simple-templater-0.0.1.4 gems/gems/rspec-1.2.9/features/example_groups/nested_groups.feature
media-path-0.1.2 vendor/rspec/features/example_groups/nested_groups.feature
simple-templater-0.0.1.3 vendor/rspec/features/example_groups/nested_groups.feature
pupu-0.0.2.pre vendor/rspec/features/example_groups/nested_groups.feature
media-path-0.1.1.pre vendor/rspec/features/example_groups/nested_groups.feature
simple-templater-0.0.1.2 vendor/rspec/features/example_groups/nested_groups.feature
media-path-0.1.1 vendor/rspec/features/example_groups/nested_groups.feature
simple-templater-0.0.1.1 vendor/rspec/features/example_groups/nested_groups.feature
pupu-0.0.2 vendor/rspec/features/example_groups/nested_groups.feature