Class: Cucumber::Core::Test::Filters::ActivateStepsForSelfTest
- Inherits:
-
Object
- Object
- Cucumber::Core::Test::Filters::ActivateStepsForSelfTest
- Defined in:
- lib/cucumber/core/test/filters/activate_steps_for_self_test.rb
Overview
This filter is used for testing Cucumber itself. It adds step definitions that will activate steps to have passed / failed / pending results if they use conventional names.
It was extracted from our test code, and does not have any tests of its own.
Constant Summary collapse
- Failure =
Class.new(StandardError)
Instance Method Summary collapse
Instance Method Details
#test_case(test_case) ⇒ Object
15 16 17 |
# File 'lib/cucumber/core/test/filters/activate_steps_for_self_test.rb', line 15 def test_case(test_case) test_case.with_steps(test_steps(test_case)).describe_to(receiver) end |