Skip to content

Jupiter engine does not invoke 'after alls' if exception is thrown by 'before alls' #359

Closed
@sbrannen

Description

@sbrannen

Status Quo

In contrast to the behavior of JUnit 4, the Jupiter TestEngine currently does not invoke AfterAllCallbacks or @AfterAll methods if an exception is thrown by a BeforeAllCallback or @BeforeAll method.

Related Issues

Deliverables

  • Ensure that "after all" methods and callbacks are invoked even if an exception is thrown by a "before all" method or callback.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions