Expand All
Collapse All
./features/step_definitions/sample_steps.rb:19: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'
17end
18
19Given /^a step definition that calls an undefined step$/ do Given 'this does not exist'
20end
Given /^$/ do pending # express the regexp above with the code you wish you had end
./features/step_definitions/sample_steps.rb:19: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"'
17end
18
19Given /^a step definition that calls an undefined step$/ do Given 'this does not exist'
20end
Given /^$/ do pending # express the regexp above with the code you wish you had end
./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/' features/failing_expectation.feature:4:in `Given failing expectation'
61
62Given /^failing expectation$/ do x=1
63 'this'.should == 'that'
64end
Given /^it snows in Sahara$/ do pending # express the regexp above with the code you wish you had end
Given /^it's (\d+) degrees in Norway$/ do |arg1| pending # express the regexp above with the code you wish you had end
Given /^it's (\d+) degrees in Norway$/ do |arg1| pending # express the regexp above with the code you wish you had end
When /^I stop procrastinating$/ do pending # express the regexp above with the code you wish you had end
When /^there is world peace$/ do pending # express the regexp above with the code you wish you had end
state |
---|
passing |
state |
---|
passing |
state | other_state |
---|---|
missing | passing |
passing | passing |
failing | passing |
FAIL ./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 | other_state |
---|---|
passing | passing |
# Feature comment@one
Given /^missing$/ do pending # express the regexp above with the code you wish you had end
# Scenario comment@threefeatures/sample.feature:11
a | b |
c | d |
hello
./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'
0def flunker
1 raise "FAIL"
2end
./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'
0def flunker
1 raise "FAIL"
2end
state |
---|
failing |
FAIL ./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 |
---|
passing |
state |
---|
passing |
state |
---|
failing |
FAIL ./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 |
---|
missing |
./features/step_definitions/sample_steps.rb:28:in `/^'(.+)' cukes$/' features/tons_of_cukes.feature:5:in `Given '2' cukes'
26
27Given /^'(.+)' cukes$/ do |cukes| x=1
28 raise "We already have #{@cukes} cukes!" if @cukes
29 @cukes = cukes
30end
example with <html> entities
Given /^a pystring$/ do |string| pending # express the regexp above with the code you wish you had end
table |
example |
Given /^a table$/ do |table| # table is a Cucumber::Ast::Table pending # express the regexp above with the code you wish you had end