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
4
4
Use CDI Standalone Edition (CDI SE) API to provide dependency injection into
5
5
steps definitions.
6
6
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:
8
9
9
10
``` xml
10
11
<dependencies >
11
12
[...]
12
13
<dependency >
13
14
<groupId >io.cucumber</groupId >
14
15
<artifactId >cucumber-cdi2</artifactId >
15
- <version >${cucumber.version}</version >
16
16
<scope >test</scope >
17
17
</dependency >
18
18
[...]
Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ public class BellyStepdefs {
48
48
```
49
49
It 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.
50
50
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
+
52
54
``` xml
53
55
<dependency >
54
56
<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
5
5
in your test code. The rest of this documentation assumes you have at least a basic understanding of Guice. Please refer
6
6
to the Guice wiki if necessary, see [ Google Guice - Motivation] ( https://github.com/google/guice/wiki/Motivation )
7
7
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:
9
10
10
11
``` xml
11
12
@@ -14,7 +15,6 @@ Add the `cucumber-guice` dependency to your `pom.xml`:
14
15
<dependency >
15
16
<groupId >io.cucumber</groupId >
16
17
<artifactId >cucumber-guice</artifactId >
17
- <version >${cucumber.version}</version >
18
18
<scope >test</scope >
19
19
</dependency >
20
20
[...]
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ Cucumber CDI Jakarta
4
4
Use CDI Standalone Edition (CDI SE) API to provide dependency injection in to
5
5
steps definitions.
6
6
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:
8
9
9
10
``` xml
10
11
<dependencies >
11
12
[...]
12
13
<dependency >
13
14
<groupId >io.cucumber</groupId >
14
15
<artifactId >cucumber-jakarta-cdi</artifactId >
15
- <version >${cucumber.version}</version >
16
16
<scope >test</scope >
17
17
</dependency >
18
18
[...]
Original file line number Diff line number Diff line change 1
1
Cucumber Java
2
2
=============
3
3
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:
5
6
6
7
``` xml
7
8
<dependencies >
8
9
[...]
9
10
<dependency >
10
11
<groupId >io.cucumber</groupId >
11
12
<artifactId >cucumber-java</artifactId >
12
- <version >${cucumber.version}</version >
13
13
<scope >test</scope >
14
14
</dependency >
15
15
[...]
Original file line number Diff line number Diff line change 1
1
Cucumber Java8
2
2
==============
3
3
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:
5
6
6
7
``` xml
7
8
<dependencies >
8
9
[...]
9
10
<dependency >
10
11
<groupId >io.cucumber</groupId >
11
12
<artifactId >cucumber-java8</artifactId >
12
- <version >${cucumber.version}</version >
13
13
<scope >test</scope >
14
14
</dependency >
15
15
[...]
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ Cucumber JUnit (Deprecated)
6
6
> For JUnit 5 use the [ Cucumber JUnit Platform Engine] ( ../cucumber-junit-platform-engine )
7
7
8
8
Use 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:
10
11
11
12
``` xml
12
13
<dependencies >
13
14
[...]
14
15
<dependency >
15
16
<groupId >io.cucumber</groupId >
16
17
<artifactId >cucumber-junit</artifactId >
17
- <version >${cucumber.version}</version >
18
18
<scope >test</scope >
19
19
</dependency >
20
20
[...]
Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ Cucumber PicoContainer
3
3
4
4
Use PicoContainer to provide dependency injection to steps.
5
5
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:
7
8
8
9
``` xml
9
10
<dependencies >
10
11
[...]
11
12
<dependency >
12
13
<groupId >io.cucumber</groupId >
13
14
<artifactId >cucumber-picocontainer</artifactId >
14
- <version >${cucumber.version}</version >
15
15
<scope >test</scope >
16
16
</dependency >
17
17
[...]
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ Cucumber Spring
4
4
Use Cucumber Spring to share state between steps in a scenario and access the
5
5
spring application context.
6
6
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:
8
9
9
10
``` xml
10
11
<dependencies >
11
12
[...]
12
13
<dependency >
13
14
<groupId >io.cucumber</groupId >
14
15
<artifactId >cucumber-spring</artifactId >
15
- <version >${cucumber.version}</version >
16
16
<scope >test</scope >
17
17
</dependency >
18
18
[...]
Original file line number Diff line number Diff line change 1
1
Cucumber TestNG
2
2
==============
3
3
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:
5
6
6
7
``` xml
7
8
<dependencies >
8
9
[...]
9
10
<dependency >
10
11
<groupId >io.cucumber</groupId >
11
12
<artifactId >cucumber-testng</artifactId >
12
- <version >${cucumber.version}</version >
13
13
<scope >test</scope >
14
14
</dependency >
15
15
[...]
You can’t perform that action at this time.
0 commit comments