[ https://issues.apache.org/jira/browse/SUREFIRE-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana closed SUREFIRE-1156. ---------------------------------- Resolution: Not A Problem Assignee: Tibor Digana Open bug in Cucumber. Feel free to reopen with new feedback from Cucumber. > surefire-junit47 reports results against incorrect test > ------------------------------------------------------- > > Key: SUREFIRE-1156 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1156 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support > Affects Versions: 2.18.1 > Reporter: Joe Jordan > Assignee: Tibor Digana > > There is a minimal non-working example here: > https://github.com/joedj/surefire-test.git > The project includes two tests - Test1, a simple junit test, and Test2, a > cucumber test. Test2 prints "Test2 Output". > When run with junit4, both the tests run, and the output is correct: > {quote} > surefire-test$ mvn clean test -Pjunit4 | grep Running > Running Test1 > Running Test2 > surefire-test$ grep -rl 'Test2 Output' target/surefire-reports > target/surefire-reports/Test2-output.txt > {quote} > When run with junit47, both the tests run, but the "Running Test2" line is > never printed, and the Test2 output appears in the wrong file: > {quote} > surefire-test$ mvn clean test -Pjunit47 | grep Running > Running Test1 > surefire-test$ grep -rl 'Test2 Output' target/surefire-reports > target/surefire-reports/*Test1*-output.txt > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)