Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run hook on failed test #197

Open
rchl opened this issue Jul 2, 2021 · 0 comments
Open

Run hook on failed test #197

rchl opened this issue Jul 2, 2021 · 0 comments

Comments

@rchl
Copy link
Member

rchl commented Jul 2, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant