My webzone

A place for John Bintz to ramble.

Autogenerate Cucumber steps, John-style

Following up on an experiment I started earlier this year, I created a Cucumber formatter that will write out undefined steps to a directory you specify. So much less copypaste for my workflow. Here’s the project.

Also, you can do the same in Flowerbox with your JavaScript Cucumber step definitions:

Flowerbox.configure do |f|
  f.reporters.add(:step_writer, :target => 'js-features/step_definitions')
end