Skip to content

Idea: Display the exact line of the issue in "pretty" mode #1612

@jdeniau

Description

@jdeniau

When the format is "progress", we do have two informations about tests that fail:

--- Failed steps:

001 Scenario: We can do something # features/some_test.feature:6
      And the assertion should pass                                      # features/some_test.feature:38

But on "pretty" mode, we do only have the first line displayed:

--- Failed scenarios:

    features/some_test.feature:6

In pretty mode, we do have all the trace before, but we might have a lot of skipped tests after the exception, and we have to scroll all the way up to the error.

Would it be acceptable to have the same kind or return ?

Either with the same error as in "progress" mode, or something like

--- Failed scenarios:

    features/some_test.feature:6-38

(this way we can just copy paste to run the test from line 6 to 38)

Another possible solution would be to NOT display all the skipped blue steps. (personally, I consider this just useless noise in my development proces)

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions