Chris Yee created SUREFIRE-1739:
-----------------------------------
Summary: Regression - Failsafe with JUnit 5: @BeforeAll failure
incorrectly succeeds
Key: SUREFIRE-1739
URL: https://issues.apache.org/jira/browse/SUREFIRE-1739
Project: Maven Surefire
Issue Type: Bug
Components: Maven Failsafe Plugin
Affects Versions: 3.0.0-M4
Reporter: Chris Yee
Attachments: ExampleIT.java, bug_example.tgz, pom.xml
A failure in a JUnit 5 @BeforeAll setup method causes the integration tests to
be skipped, and the result is an incorrect build success.
This is a regression; the same code correctly causes a build failure in 2.22.2,
3.0.0-M1, 3.0.0-M2, and 3.0.0-M3.
Replication steps:
# Unpack project
# {{mvn verify}}
Expected result: Build failure
Actual result: Build success
The stdout summary reports that no tests were run
--
This message was sent by Atlassian Jira
(v8.3.4#803005)