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

Print failed scenario name #282

Open
stepantubanov opened this issue May 3, 2023 · 2 comments
Open

Print failed scenario name #282

stepantubanov opened this issue May 3, 2023 · 2 comments
Assignees
Labels
enhancement Improvement of existing features or bugfix k::UI/UX UI (user interface) and UX (user experience) changes
Milestone

Comments

@stepantubanov
Copy link

This is just a suggestion to add scenario name to output.

Currently it looks like this with the default writer:

   ✘  Then last response status is 123
      Step failed:
      Defined: tests/features/api/schema.feature:350:5
      Matched: tests/api/mod.rs:940:1
      Step panicked. Captured output: assertion failed: `(left == right)`
       ...

It would be helpful to see the scenario name. It would actually be helpful to see the entire scenario (all of the steps, not just the last one; last step alone doesn't provide enough context). I'm referring to the bottom of the output with repeat_failed setting.

Or alternatively if there's a setting that can be used to suppress printing all of the steps of successful scenarios that may be even better.

@tyranron tyranron self-assigned this May 15, 2023
@tyranron tyranron added enhancement Improvement of existing features or bugfix k::UI/UX UI (user interface) and UX (user experience) changes labels May 15, 2023
@tyranron tyranron added this to the 0.20.0 milestone May 15, 2023
@tyranron
Copy link
Member

@stepantubanov would you like to make a PR for this?

@jhoover4
Copy link

@tyranron do we still need work on this? I could open a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing features or bugfix k::UI/UX UI (user interface) and UX (user experience) changes
Projects
None yet
Development

No branches or pull requests

3 participants