| Class | Cucumber::Runtime |
| In: |
lib/cucumber/runtime/user_interface.rb
lib/cucumber/runtime/support_code.rb lib/cucumber/runtime/results.rb lib/cucumber/runtime/features_loader.rb lib/cucumber/runtime.rb |
| Parent: | Object |
This is the meaty part of Cucumber that ties everything together.
| results | [R] |
Invokes a series of steps steps_text. Example:
invoke(%Q{
Given I have 8 cukes in my belly
Then I should not be thirsty
})
Loads and registers programming language implementation. Instances are cached, so calling with the same argument twice will return the same instance.
Returns a regular String for string_with_triple_quotes. Example:
""" hello world """
Is retured as: " hello\nworld"
Returns a Cucumber::Ast::Table for text_or_table, which can either be a String:
table(%{
| account | description | amount |
| INT-100 | Taxi | 114 |
| CUC-101 | Peeler | 22 |
})
or a 2D Array:
table([
%w{ account description amount },
%w{ INT-100 Taxi 114 },
%w{ CUC-101 Peeler 22 }
])