Skip to content

Before\AfterProject catch only one Exception #1387

@crazyk2

Description

@crazyk2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    framework 🏗️Pertains to the core structure and components of the Kotest framework.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions