Class: Cucumber::Core::Test::LocationsFilter
- Inherits:
-
Object
- Object
- Cucumber::Core::Test::LocationsFilter
- Defined in:
- lib/cucumber/core/test/filters/locations_filter.rb
Overview
Sorts and filters scenarios based on a list of locations
Instance Method Summary collapse
Instance Method Details
#done ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/cucumber/core/test/filters/locations_filter.rb', line 16 def done sorted_test_cases.each do |test_case| test_case.describe_to receiver end receiver.done self end |
#test_case(test_case) ⇒ Object
11 12 13 14 |
# File 'lib/cucumber/core/test/filters/locations_filter.rb', line 11 def test_case(test_case) test_cases[test_case.location.file] << test_case self end |