Skip to content

Instantly share code, notes, and snippets.

Created June 26, 2015 16:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tooky/7fee841bd7efddce3604 to your computer and use it in GitHub Desktop.
puts "*" * 100
require 'cucumber/wire_support/wire_language'
class WireFilter <
def test_case(test_case)
test_case.describe_to receiver
Cucumber.configure do |config|
wire_files = { |path|
Dir[path + '/**/*.wire']
wire =, Cucumber.configuration)
wire_files.each { |wire_file| wire.load_code_file(wire_file) }
p wire_files
config.filters <<
config.filters <<
# register snippet generator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment