Skip to content

Jupiter engine does not invoke 'afters' if exception is thrown by test or 'befores' #357

Closed
@sbrannen

Description

@sbrannen

Status Quo

In contrast to the behavior of JUnit 4, the Jupiter TestEngine currently does not invoke any "after each" methods or callbacks if an exception is thrown during test execution or by a "before each" method or callback.

Related Issues

Deliverables

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions