We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78cc1d9 commit 48f6da0Copy full SHA for 48f6da0
junit/src/main/java/cucumber/junit/JUnitReporter.java
@@ -51,7 +51,6 @@ public void finishExecutionUnit() {
51
public void match(Match match) {
52
Description description = executionUnitRunner.describeChild(steps.remove(0));
53
stepNotifier = new EachTestNotifier(runNotifier, description);
54
- stepNotifier.fireTestStarted();
55
reporter.match(match);
56
}
57
@@ -71,6 +70,8 @@ public void result(Result result) {
71
70
stepNotifier.fireTestIgnored();
72
} else {
73
if (stepNotifier != null) {
+ //Should only fireTestStarted if not ignored
74
+ stepNotifier.fireTestStarted();
75
if (error != null) {
76
stepNotifier.addFailure(error);
77
0 commit comments