Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add scenario names to (cucumber html) report when calling feature files #2133

Open
ericdriggs opened this issue Oct 3, 2022 · 3 comments

Comments

@ericdriggs
Copy link

Would greatly enhance readability of reports

@ptrthomas ptrthomas self-assigned this Oct 3, 2022
@ptrthomas
Copy link
Member

requested by others as well, e.g. https://stackoverflow.com/a/73914451/143475

ptrthomas added a commit that referenced this issue Nov 1, 2022
@ptrthomas
Copy link
Member

investigated, trickier than expected. since the feature name being called is not usually useful, we need to decide if returning the name of the "first scenario that ran in the called feature" is sufficient. there seems to be some issue in the name in the results today, needs further investigation

@ptrthomas
Copy link
Member

for anyone interested in this, the recommended way to "call a feature in a loop, with dynamically derived data - but with nicer reporting" is to use a dynamic Scenario Outline as now made possible in 1.3.0 using the new @setup tag: #1905

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

No branches or pull requests

2 participants