Skip to content

Run hook on failed test #197

@rchl

Description

@rchl

Maybe there is something like that already but I haven't digged too deep.

It should be useful to have a hook that runs when assertion fails. It should run exactly after it fails, before any cleanup methods are called.

This should allow taking a screenshot of failing tests and upload them as artifacts in CI. Useful for UI tests to potentially speed up figuring out why the test has failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions