Skip to content

Print failed scenario name #282

@stepantubanov

Description

@stepantubanov

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.

Metadata

Metadata

Assignees

Labels

enhancementImprovement of existing features or bugfixk::UI/UXUI (user interface) and UX (user experience) changes

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions