Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

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

Open
Zearin opened this issue May 31, 2016 · 2 comments
Open

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

Zearin opened this issue May 31, 2016 · 2 comments

Comments

@Zearin
Copy link

Zearin commented May 31, 2016

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
Copy link

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
Copy link
Author

Zearin commented Jun 5, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants