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

[feat]: option to fail tests if lifecycle hooks throw #547

Open
ShaunSHamilton opened this issue Mar 27, 2024 · 0 comments
Open

[feat]: option to fail tests if lifecycle hooks throw #547

ShaunSHamilton opened this issue Mar 27, 2024 · 0 comments
Labels
priority: low An issue/PR with low priority type: feature This issue/PR is for a feature addition

Comments

@ShaunSHamilton
Copy link
Member

It would be useful to have a feature/toggle to cause tests to:
a) Not run
b) Fail

If the before-all/before-each hooks throw.

Currently, this is the default behaviour for before-each, but could be useful for the other lifecycle hooks.

@ShaunSHamilton ShaunSHamilton added priority: low An issue/PR with low priority type: feature This issue/PR is for a feature addition labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low An issue/PR with low priority type: feature This issue/PR is for a feature addition
Projects
None yet
Development

No branches or pull requests

1 participant