@background_tagged_before_on_outlineFeature: Background tagged Before on Outline
Background:
Given passing without a table
Scenario Outline: passing background
Then I should have '<count>' cukes
Feature: background with name
Background: I'm a background and I'm ok
Given '10' cukes
Scenario: example
Then I should have '10' cukes
@after_fileFeature: Failing background sample
Background:
Given failing without a table
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/background/failing_background.feature:5:in `Given failing without a table'
And '10' cukes
Scenario: failing background
Then I should have '10' cukes
Scenario: another failing background
Then I should have '10' cukes
Feature: Failing background after previously successful background sample
Background:
Given passing without a table
And '10' global cukes
Scenario: passing background
Then I should have '10' global cukes
Scenario: failing background
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:37:in `/^'(.+)' global cukes$/'
features/background/failing_background_after_success.feature:5:in `And '10' global cukes'
Then I should have '10' global cukes
Feature: Passing background with multiline args
Background:
Given table
And multiline string
I'm a cucumber and I'm okay.
I sleep all night and I test all day
Scenario: passing background
Then the table should be
Then the multiline string should be
I'm a cucumber and I'm okay.
I sleep all night and I test all day
Scenario: another passing background
Then the table should be
Then the multiline string should be
I'm a cucumber and I'm okay.
I sleep all night and I test all day
Feature: Passing background sample
Background:
Given '10' cukes
Scenario: passing background
Then I should have '10' cukes
Scenario: another passing background
Then I should have '10' cukes
Feature: Pending background sample
Background:
Given pending
Scenario: pending background
Then I should have '10' cukes
Scenario: another pending background
Then I should have '10' cukes
Feature: Failing background with scenario outlines sample
Background:
Given failing without a table
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table'
Scenario Outline: failing background
Then I should have '<count>' cukes
Examples:
count |
---|
10 |
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table' |
Scenario Outline: another failing background
Then I should have '<count>' cukes
Feature: Passing background with scenario outlines sample
Background:
Given '10' cukes
Scenario Outline: passing background
Then I should have '<count>' cukes
Scenario Outline: another passing background
Then I should have '<count>' cukes
Feature: Calling undefined step
Scenario: Call directly
Given a step definition that calls an undefined step
Undefined step: "this does not exist" (Cucumber::Undefined)
./features/step_definitions/sample_steps.rb:20:in `/^a step definition that calls an undefined step$/'
features/call_undefined_step_from_step_def.feature:4:in `Given a step definition that calls an undefined step'
Scenario: Call via another
Given call step "a step definition that calls an undefined step"
Undefined step: "this does not exist" (Cucumber::Undefined)
./features/step_definitions/sample_steps.rb:20:in `/^a step definition that calls an undefined step$/'
features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step definition that calls an undefined step"'
Feature: Failing expectation
Scenario: Failing expectation
Given failing expectation
expected: "that",
got: "this" (using ==)
Diff:
@@ -1,2 +1,2 @@
-that
+this
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
features/failing_expectation.feature:4:in `Given failing expectation'
Feature: Lots of undefined
Scenario: Implement me
Given it snows in Sahara
Given it's 40 degrees in Norway
And it's 40 degrees in Norway
When I stop procrastinating
And there is world peace
Feature: multiline
Background: I'm a multiline name
which goes on and on and on for three lines
yawn
Given passing without a table
Scenario: I'm a multiline name
which goes on and on and on for three lines
yawn
Given passing without a table
Scenario Outline: I'm a multiline name
which goes on and on and on for three lines
yawn
Given <state> without a table
Scenario Outline: name
Given <state> without a table
Examples: I'm a multiline name
which goes on and on and on for three lines
yawn
Feature: Outline Sample
Scenario: I have no steps
Scenario Outline: Test state
Given <state> without a table
Given <other_state> without a table
Examples: Rainbow colours
state | other_state |
---|
missing | passing |
passing | passing |
failing | passing |
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/outline_sample.feature:6:in `Given <state> without a table' |
Examples: Only passing
state | other_state |
---|
passing | passing |
@oneFeature: Sample
@two @threeScenario: Missing
Given missing
@threeScenario: Passing
Given passing
@fourScenario: Failing
Given failing
hello
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:9:in `/^failing$/'
features/sample.feature:18:in `Given failing'
Feature: search examples
Background: Hantu Pisang background match
Given passing without a table
Scenario: should match Hantu Pisang
Given passing without a table
Scenario: Ignore me
Given failing without a table
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/search_sample.feature:10:in `Given failing without a table'
Scenario Outline: Ignore me
Given <state> without a table
Examples:
state |
---|
failing |
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/search_sample.feature:13:in `Given <state> without a table' |
Scenario Outline: Hantu Pisang match
Given <state> without a table
Scenario Outline: no match in name but in examples
Given <state> without a table
Examples: Ignore me
state |
---|
failing |
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/search_sample.feature:25:in `Given <state> without a table' |
@sample_oneFeature: Tag samples
@sample_two @sample_fourScenario: Passing
Given missing
@sample_threeScenario Outline:
Given <state>
@sample_three @sample_fourScenario: Skipped
Given missing
@lotsFeature: Tons of cukes
Scenario: Lots and lots
Given '2' cukes
Given '2' cukes
We already have 2 cukes! (RuntimeError)
./features/step_definitions/sample_steps.rb:28:in `/^'(.+)' cukes$/'
features/tons_of_cukes.feature:5:in `Given '2' cukes'
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Given '2' cukes
Feature: undefined multiline args
Scenario: pystring
Given a pystring
example
Scenario: table
Given a table
43 scenarios (10 failed, 2 skipped, 12 undefined, 19 passed)
131 steps (10 failed, 60 skipped, 16 undefined, 45 passed)
0m30.005s