eugene-sea / karma-cucumber-js

Karma adapter for running Cucumber.js features
10 stars 4 forks source link

Add feature file uri to step results #11

Closed timhemming-fico closed 7 years ago

timhemming-fico commented 7 years ago

Would it be possible to add the feature file uri to the StepResult in CucumberKarmaListener#hear?

For example:

const stepId = `${description} : file ${this.feature.getUri()} : line ${step.getLine()}`;

This would help navigating to the corresponding feature files from our CI server result pages.

eugene-sea commented 7 years ago

OK, I will add feature file URI

eugene-sea commented 7 years ago

I have published karma-cucumber-js@1.0.1

timhemming-fico commented 7 years ago

Thanks for the quick response. This works great for us.