Skip to content

Implement @AfterSuite annotation in JUnit Jupiter #4991

@VladyslavZagorodnyi

Description

@VladyslavZagorodnyi

JUnit 5’s lifecycle is per class, so @AfterAll is naturally called once per class.

But usually for regression test suites we have lot's of test classes (so opening and closing browser lot's of the times is very time consuming).

There’s no native @AfterSuite (could be very useful to have such annotation that will work only after all test classes at suite were executed)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions