I use Emacs with Cucumber (cucumber.io). Cucumber outputs lines like this:
Scenario: Jeff returns a faulty microwave # /somepath/file1.feature:12 Given Jeff has bought a microwave for $100 # /somepath/steps/file2.rb:5 And he has a receipt When he returns the microwave Then Jeff should be refunded $100 Exception blah /path/someotherdir/sourcefile.rb:123:error xxx occured Scenario: Some other scenario... # /somepath/file1.feature:23 Given ...
Everything works splendidly with the compilation buffers. I have made some entries in
compilation-error-regexp-alist that locate those comments as "info" (in addition to whatever compiler/runtime errors from the Ruby environment) and am able to jump through everything.
Now, my question:
I would find it very handy if I could not only step between the "next" (
M-n) and "previous" (
M-p) steps in a completely linear fashion, but if I could separately do a "next scenario" (
C-M-n) and "previous scenario" (
C-M-p) binding. Those would ignore everything and just jump between the lines starting with
Is such a thing possible?