cucumber-attic / microcuke

Mimimal Cucumber Reference Implementation
56 stars 10 forks source link

Should output comments reference glue files, or feature files? #14

Open Zearin opened 8 years ago

Zearin commented 8 years ago

Currently, the comments in the output of microcuke paths to glue files.

I believe other implementations output paths to feature files instead.

Which is correct?

brasmusson commented 8 years ago

Both Cucumber-Ruby and Cucumber-JVM output location or data of the matched step definition in the comment for steps. The comment for scenarios they output the location of the scenario line in the feature file. Cucumber-Ruby will, for undefined steps - when there is no step definition location to use, output the location of the step in the feature file.

So all in all microcuke does conform to the behaviour of the other Cucumber implementations with respect to the comments in the pretty output.

Zearin commented 8 years ago

Ah, okay! Thank you—that is very helpful. :)