class ParallelTests::Cucumber::Scenarios
def all(files, options = {})
def all(files, options = {}) # Parse tag expression from given test options and ignore tag pattern. Refer here to understand how new tag expression syntax works - https://github.com/cucumber/cucumber/tree/master/tag-expressions tags = [] words = options[:test_options].to_s.shellsplit words.each_with_index { |w, i| tags << words[i + 1] if ["-t", "--tags"].include?(w) } if ignore = options[:ignore_tag_pattern] tags << "not (#{ignore})" end tags_exp = tags.compact.join(" and ") split_into_scenarios files, tags_exp end