File tree Expand file tree Collapse file tree 7 files changed +33
-7
lines changed
main/resources/archetype-resources
test/resources/projects/should-generate-project/reference
src/test/java/com/example Expand file tree Collapse file tree 7 files changed +33
-7
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
- [ JUnit Platform Engine] Set Engine-Version-cucumber attribute ([ #2963 ] ( https://github.com/cucumber/cucumber-jvm/pull/2963 ) M.P. Korstanje)
16
16
17
17
### Changed
18
+ - [ Archetype] Replace JUnit Jupiter with AssertJ ([ #2969 ] ( https://github.com/cucumber/cucumber-jvm/pull/2969 ) M.P. Korstanje)
18
19
- [ JUnit Platform Engine] Use JUnit Platform 1.11.3 (JUnit Jupiter 5.11.3)
19
20
20
21
### Added
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ This is a Maven Archetype for setting up an empty Cucumber project. Used by the
6
6
mvn archetype:generate \
7
7
-DarchetypeGroupId=io.cucumber \
8
8
-DarchetypeArtifactId=cucumber-archetype \
9
- -DarchetypeVersion=${cucumber.version} \
9
+ -DarchetypeVersion=${cucumber.version}
10
10
```
Original file line number Diff line number Diff line change 16
16
17
17
<properties >
18
18
<junit-jupiter .version>5.11.4</junit-jupiter .version>
19
+ <assertj .version>3.25.3</assertj .version>
19
20
<maven-compiler-plugin .version>3.13.0</maven-compiler-plugin .version>
20
21
<maven-surefire-plugin .version>3.5.2</maven-surefire-plugin .version>
21
22
</properties >
39
40
<type >pom</type >
40
41
<scope >import</scope >
41
42
</dependency >
43
+ <!-- Not used by this module. But ensures the assertj.version
44
+ in the archetype template is also automatically updated by renovate
45
+ bot. -->
46
+ <dependency >
47
+ <groupId >org.assertj</groupId >
48
+ <artifactId >assertj-bom</artifactId >
49
+ <version >${assertj.version} </version >
50
+ <type >pom</type >
51
+ <scope >import</scope >
52
+ </dependency >
42
53
</dependencies >
43
54
</dependencyManagement >
44
55
Original file line number Diff line number Diff line change 29
29
<type >pom</type >
30
30
<scope >import</scope >
31
31
</dependency >
32
+ <dependency >
33
+ <groupId >org.assertj</groupId >
34
+ <artifactId >assertj-bom</artifactId >
35
+ <version >${assertj.version} </version >
36
+ <type >pom</type >
37
+ <scope >import</scope >
38
+ </dependency >
32
39
</dependencies >
33
40
</dependencyManagement >
34
41
52
59
</dependency >
53
60
54
61
<dependency >
55
- <groupId >org.junit.jupiter </groupId >
56
- <artifactId >junit-jupiter </artifactId >
62
+ <groupId >org.assertj </groupId >
63
+ <artifactId >assertj-core </artifactId >
57
64
<scope >test</scope >
58
65
</dependency >
59
66
</dependencies >
Original file line number Diff line number Diff line change 2
2
3
3
import io .cucumber .java .en .*;
4
4
5
- import static org .junit . jupiter .api .Assertions .* ;
5
+ import static org .assertj . core .api .Assertions .assertThat ;
6
6
7
7
public class StepDefinitions {
8
8
Original file line number Diff line number Diff line change 29
29
<type >pom</type >
30
30
<scope >import</scope >
31
31
</dependency >
32
+ <dependency >
33
+ <groupId >org.assertj</groupId >
34
+ <artifactId >assertj-bom</artifactId >
35
+ <version >${assertj.version} </version >
36
+ <type >pom</type >
37
+ <scope >import</scope >
38
+ </dependency >
32
39
</dependencies >
33
40
</dependencyManagement >
34
41
52
59
</dependency >
53
60
54
61
<dependency >
55
- <groupId >org.junit.jupiter </groupId >
56
- <artifactId >junit-jupiter </artifactId >
62
+ <groupId >org.assertj </groupId >
63
+ <artifactId >assertj-core </artifactId >
57
64
<scope >test</scope >
58
65
</dependency >
59
66
</dependencies >
Original file line number Diff line number Diff line change 2
2
3
3
import io .cucumber .java .en .*;
4
4
5
- import static org .junit . jupiter .api .Assertions .* ;
5
+ import static org .assertj . core .api .Assertions .assertThat ;
6
6
7
7
public class StepDefinitions {
8
8
You can’t perform that action at this time.
0 commit comments