Skip to content

afterEach is not executed for failed tests #1

@piotrminkina

Description

@piotrminkina

Hello

I noticed that the afterEach method is not executed when a test case fails. Because of this behavior, there is no way to clean up after a test case. As far as I can see, the reason is the following line of code.

continue

A similar situation will happen when an error occurs at the stage of the beforeEach method.

Regards
Piotr Minkina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions