Skip to content

Commit 0f5a440

Browse files
committed
Use correct CucumberOptions
RunCukesTest used wrong import wrongly.
1 parent 93aa690 commit 0f5a440

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/java-gradle/src/test/java/gradle/cucumber/RunCukesTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
import cucumber.api.junit.Cucumber;
44
import org.junit.runner.RunWith;
5+
import cucumber.api.CucumberOptions;
56

67
@RunWith(Cucumber.class)
7-
@Cucumber.Options(format = {"pretty", "html:build/cucumber-html-report", "json-pretty:build/cucumber-report.json"})
8+
@CucumberOptions(plugin = {"pretty"})
89
public class RunCukesTest {
910

1011
}

0 commit comments

Comments
 (0)