michaelklishin / cucumber.el

Emacs mode for editing Cucumber plain text stories
None!
253 stars 90 forks source link

Use line number instead of scenario name when run it #50

Closed avsej closed 10 years ago

avsej commented 10 years ago

Line number is more robust because cucumber does pattern matching for '-n' argument, so if you happened to have scenario, which name is happened to be part of another scenario in the same file, feature-mode will run them both. Another case is that it is not possible to run on specific example of scenario outline. With line number argument, it is possible, just set cursor to the row in the examples table.

michaelklishin commented 10 years ago

:+1:

antono commented 10 years ago

:thumbsup: