Class: Cucumber::Runtime
- Inherits:
-
Object
- Object
- Cucumber::Runtime
- Defined in:
- lib/redcukes.rb
Instance Method Summary collapse
Instance Method Details
#cucumber_features ⇒ Object
3 |
# File 'lib/redcukes.rb', line 3 alias cucumber_features features |
#features ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/redcukes.rb', line 5 def features filters = [] features = Cucumber::Ast::Features.new issues = Redcukes::Issue.cucumber_features issues.each do |s| feature_file = Cucumber::FeatureFile.new("#{s.id}.feature", "Feature: #{s.subject}\n #{s.description}\n") feature = feature_file.parse(filters, {}) rescue nil features.add_feature(feature) if feature end features end |