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

Add BeforeAll and AfterAll lifecycle hooks #12

Open
biohazard999 opened this issue Jul 3, 2020 · 2 comments
Open

Add BeforeAll and AfterAll lifecycle hooks #12

biohazard999 opened this issue Jul 3, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects

Comments

@biohazard999
Copy link
Contributor

No description provided.

@biohazard999 biohazard999 added this to To do in 0.1.0 via automation Jul 3, 2020
@biohazard999 biohazard999 added enhancement New feature or request good first issue Good for newcomers documentation Improvements or additions to documentation labels Jul 3, 2020
@biohazard999 biohazard999 removed this from To do in 0.1.0 Jul 6, 2020
@biohazard999 biohazard999 added this to To Do in 0.2.0 via automation Jul 6, 2020
@hazard999
Copy link
Member

What should be the expected behavior when BeforeAll or AfterAll throws?

@biohazard999
Copy link
Contributor Author

Cause BeforeEach and AfterEach hooks are Executables they should return false if an exception is thrown and the tests should not run at all, that behavior should be the same with BeforeAll and AfterAll. But there is no proper way to report exceptions on hooks yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
0.2.0
  
To Do
Development

No branches or pull requests

2 participants