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

Before\AfterProject catch only one Exception #1387

Closed
crazyk2 opened this issue Apr 15, 2020 · 0 comments
Closed

Before\AfterProject catch only one Exception #1387

crazyk2 opened this issue Apr 15, 2020 · 0 comments
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework.
Milestone

Comments

@crazyk2
Copy link
Contributor

crazyk2 commented Apr 15, 2020

This, this, this and this
work and handle only for first exception in afterProject and beforeProject callbacks.
In kotest-tests-core and other projects I can register several callbacks and I want to have guarantee that all of them will be invoked and if callback has some assertions I will be notified about all exceptions during my test run because test run may take hours (for example Selenium tests).
I did with afterProject callbacks by myself but with beforeProject can't without big changes of code.

@sksamuel sksamuel added this to the 4.1 milestone Apr 15, 2020
@sksamuel sksamuel added enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework. labels Apr 15, 2020
crazyk2 added a commit to crazyk2/kotest that referenced this issue Apr 20, 2020
@sksamuel sksamuel mentioned this issue May 14, 2020
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework.
Projects
None yet
Development

No branches or pull requests

2 participants