Skip to content

Commit 3c3fc9b

Browse files
committed
Add alwaysRun=true to the TestNG example's AfterClass method
1 parent a94ebb4 commit 3c3fc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/java-calculator-testng/src/test/java/cucumber/examples/java/calculator/RunCukesByFeatureAndCompositionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public Object[][] features() {
3232
return testNGCucumberRunner.provideFeatures();
3333
}
3434

35-
@AfterClass
35+
@AfterClass(alwaysRun = true)
3636
public void tearDownClass() throws Exception {
3737
testNGCucumberRunner.finish();
3838
}

0 commit comments

Comments
 (0)