Skip to content

Handle assertions and errors thrown in before_each and after_each #12

@MisanthropicBit

Description

@MisanthropicBit

Throwing errors in a before_each won't generate a neotestPositionId. This is probably because we only handle the testEnd event in the output handler and not the describeEnd event since the names in the output json look like "... before_each".

We need to make sure to generate position ids for this and fail the entire namespace by stripping before_each/after_each from the position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions