launchscout / atom-cucumber-step

Cucumber jump to step for Atom.IO
MIT License
8 stars 22 forks source link

Add support for new capture groups in cucumber 3.0.0 #29

Open jonathann92 opened 7 years ago

jonathann92 commented 7 years ago

https://cucumber.io/blog/2017/09/21/upgrading-to-cucumber-3

Hi cucumber upgraded to a new version and they have new syntax for defining step definitions. Before it used to look like.

Given(/^I have (\d+) cucumbers? in my belly$/) do |count|
end

Now the new syntax is like

Given('I have {int} cucumber(s) in my belly') do |count|
end

Would this be possible to implement?