File tree 5 files changed +9
-7
lines changed
java-webbit-websockets-selenium/src/test/java/cucumber/examples/java/websockets
spring-txn/src/test/java/cucumber/examples/spring/txn
java/src/test/java/cucumber/runtime/java/formatter
junit/src/test/java/cucumber/runtime/junit
picocontainer/src/test/java/cucumber/runtime/java/picocontainer
5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
package cucumber .examples .java .websockets ;
2
2
3
+ import cucumber .api .CucumberOptions ;
3
4
import cucumber .api .junit .Cucumber ;
4
5
import org .junit .runner .RunWith ;
5
6
6
7
@ RunWith (Cucumber .class )
7
- @ Cucumber . Options (format = {"html:target/cukes" })
8
+ @ CucumberOptions (format = {"html:target/cukes" })
8
9
public class RunCukesTest {
9
10
}
Original file line number Diff line number Diff line change 1
1
package cucumber .examples .spring .txn ;
2
2
3
+ import cucumber .api .CucumberOptions ;
3
4
import cucumber .api .junit .Cucumber ;
4
5
import org .junit .runner .RunWith ;
5
6
6
7
@ RunWith (Cucumber .class )
7
- @ Cucumber . Options (glue = {"cucumber.examples.spring.txn" , "cucumber.runtime.java.spring.hooks" })
8
+ @ CucumberOptions (glue = {"cucumber.examples.spring.txn" , "cucumber.runtime.java.spring.hooks" })
8
9
public class RunCukesTest {
9
10
}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ private class RerunFormatterSampleFeatures {
62
62
63
63
}
64
64
65
- @ Cucumber . Options (format = "rerun:target/sample.txt" , features = {"classpath:cucumber/runtime/java/formatter/passing.feature" })
65
+ @ CucumberOptions (format = "rerun:target/sample.txt" , features = {"classpath:cucumber/runtime/java/formatter/passing.feature" })
66
66
private class RerunFormatterPassingFeature {
67
67
68
68
}
Original file line number Diff line number Diff line change 1
1
package cucumber .runtime .junit ;
2
2
3
3
import cucumber .annotation .DummyWhen ;
4
+ import cucumber .api .CucumberOptions ;
4
5
import cucumber .api .junit .Cucumber ;
5
6
import cucumber .runtime .CucumberException ;
6
7
import org .junit .After ;
@@ -97,15 +98,15 @@ public void no_stepdefs_in_cucumber_runner_invalid() {
97
98
private class ImplicitFeatureAndGluePath {
98
99
}
99
100
100
- @ Cucumber . Options (features = {"classpath:cucumber/runtime/junit" })
101
+ @ CucumberOptions (features = {"classpath:cucumber/runtime/junit" })
101
102
private class ExplicitFeaturePath {
102
103
}
103
104
104
- @ Cucumber . Options (features = {"classpath:gibber/ish" })
105
+ @ CucumberOptions (features = {"classpath:gibber/ish" })
105
106
private class ExplicitFeaturePathWithNoFeatures {
106
107
}
107
108
108
- @ Cucumber . Options (features = {"classpath:cucumber/runtime/error/lexer_error.feature" })
109
+ @ CucumberOptions (features = {"classpath:cucumber/runtime/error/lexer_error.feature" })
109
110
private class LexerErrorFeature {
110
111
111
112
}
Original file line number Diff line number Diff line change 4
4
import org .junit .runner .RunWith ;
5
5
6
6
@ RunWith (Cucumber .class )
7
- //@Cucumber.Options(features = "classpath:cucumber/runtime/java/picocontainer/dates.feature:3:11")
8
7
public class RunCukesTest {
9
8
}
You can’t perform that action at this time.
0 commit comments