File tree Expand file tree Collapse file tree 11 files changed +23
-21
lines changed Expand file tree Collapse file tree 11 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ Cucumber CDI 2
44Use CDI Standalone Edition (CDI SE) API to provide dependency injection into
55steps definitions.
66
7- Add the ` cucumber-cdi2 ` dependency to your pom.xml:
7+ Add the ` cucumber-cdi2 ` dependency to your ` pom.xml `
8+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
89
910``` xml
1011<dependencies >
1112 [...]
1213 <dependency >
1314 <groupId >io.cucumber</groupId >
1415 <artifactId >cucumber-cdi2</artifactId >
15- <version >${cucumber.version}</version >
1616 <scope >test</scope >
1717 </dependency >
1818 [...]
Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ public class BellyStepdefs {
4848```
4949It is not possible to use any other scope than Dependent. This means also it is not possible to share a state over two or more scenarios; every scenario starts with a clean environment.
5050
51- To enable this object factory, add the following dependency to your classpath:
51+ To enable this object factory, add the following dependency to your ` pom.xml `
52+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
53+
5254``` xml
5355<dependency >
5456 <groupId >io.cucumber</groupId >
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ standard with singleton scope and 'no scope'. This module adds Cucumber scenario
55in your test code. The rest of this documentation assumes you have at least a basic understanding of Guice. Please refer
66to the Guice wiki if necessary, see [ Google Guice - Motivation] ( https://github.com/google/guice/wiki/Motivation )
77
8- Add the ` cucumber-guice ` dependency to your ` pom.xml ` :
8+ Add the ` cucumber-guice ` dependency to your ` pom.xml ` and use
9+ the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
910
1011``` xml
1112
@@ -14,7 +15,6 @@ Add the `cucumber-guice` dependency to your `pom.xml`:
1415 <dependency >
1516 <groupId >io.cucumber</groupId >
1617 <artifactId >cucumber-guice</artifactId >
17- <version >${cucumber.version}</version >
1818 <scope >test</scope >
1919 </dependency >
2020 [...]
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ Cucumber CDI Jakarta
44Use CDI Standalone Edition (CDI SE) API to provide dependency injection in to
55steps definitions.
66
7- Add the ` cucumber-jakarta-cdi ` dependency to your pom.xml:
7+ Add the ` cucumber-jakarta-cdi ` dependency to your ` pom.xml `
8+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
89
910``` xml
1011<dependencies >
1112 [...]
1213 <dependency >
1314 <groupId >io.cucumber</groupId >
1415 <artifactId >cucumber-jakarta-cdi</artifactId >
15- <version >${cucumber.version}</version >
1616 <scope >test</scope >
1717 </dependency >
1818 [...]
Original file line number Diff line number Diff line change 11Cucumber Java
22=============
33
4- Provides annotation-based step definitions. To use, add the ` cucumber-java ` dependency to your pom.xml:
4+ Provides annotation-based step definitions. To use, add the ` cucumber-java ` dependency to your ` pom.xml `
5+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
56
67``` xml
78<dependencies >
89 [...]
910 <dependency >
1011 <groupId >io.cucumber</groupId >
1112 <artifactId >cucumber-java</artifactId >
12- <version >${cucumber.version}</version >
1313 <scope >test</scope >
1414 </dependency >
1515 [...]
Original file line number Diff line number Diff line change 11Cucumber Java8
22==============
33
4- Provides lambda-based step definitions. To use add the ` cucumber-java8 ` dependency to your pom.xml:
4+ Provides lambda-based step definitions. To use add the ` cucumber-java8 ` dependency to your ` pom.xml `
5+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
56
67``` xml
78<dependencies >
89 [...]
910 <dependency >
1011 <groupId >io.cucumber</groupId >
1112 <artifactId >cucumber-java8</artifactId >
12- <version >${cucumber.version}</version >
1313 <scope >test</scope >
1414 </dependency >
1515 [...]
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ Cucumber JUnit (Deprecated)
66> For JUnit 5 use the [ Cucumber JUnit Platform Engine] ( ../cucumber-junit-platform-engine )
77
88Use JUnit 4 to execute Cucumber scenarios. To use add the ` cucumber-junit `
9- dependency to your pom.xml:
9+ dependency to your ` pom.xml ` and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md )
10+ for dependency management:
1011
1112``` xml
1213<dependencies >
1314 [...]
1415 <dependency >
1516 <groupId >io.cucumber</groupId >
1617 <artifactId >cucumber-junit</artifactId >
17- <version >${cucumber.version}</version >
1818 <scope >test</scope >
1919 </dependency >
2020 [...]
Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ Cucumber PicoContainer
33
44Use PicoContainer to provide dependency injection to steps.
55
6- Add the ` cucumber-picocontainer ` dependency to your pom.xml:
6+ Add the ` cucumber-picocontainer ` dependency to your ` pom.xml `
7+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
78
89``` xml
910<dependencies >
1011 [...]
1112 <dependency >
1213 <groupId >io.cucumber</groupId >
1314 <artifactId >cucumber-picocontainer</artifactId >
14- <version >${cucumber.version}</version >
1515 <scope >test</scope >
1616 </dependency >
1717 [...]
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ Cucumber Spring
44Use Cucumber Spring to share state between steps in a scenario and access the
55spring application context.
66
7- Add the ` cucumber-spring ` dependency to your ` pom.xml ` :
7+ Add the ` cucumber-spring ` dependency to your ` pom.xml ` to your ` pom.xml `
8+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
89
910``` xml
1011<dependencies >
1112 [...]
1213 <dependency >
1314 <groupId >io.cucumber</groupId >
1415 <artifactId >cucumber-spring</artifactId >
15- <version >${cucumber.version}</version >
1616 <scope >test</scope >
1717 </dependency >
1818 [...]
Original file line number Diff line number Diff line change 11Cucumber TestNG
22==============
33
4- Use TestNG to execute Cucumber scenarios. To use add the ` cucumber-testng ` dependency to your pom.
4+ Use TestNG to execute Cucumber scenarios. To use add the ` cucumber-testng ` dependency to your ` pom.xml `
5+ and use the [ ` cucumber-bom ` ] ( ../cucumber-bom/README.md ) for dependency management:
56
67``` xml
78<dependencies >
89 [...]
910 <dependency >
1011 <groupId >io.cucumber</groupId >
1112 <artifactId >cucumber-testng</artifactId >
12- <version >${cucumber.version}</version >
1313 <scope >test</scope >
1414 </dependency >
1515 [...]
You can’t perform that action at this time.
0 commit comments