@@ -64,6 +64,8 @@ lazy val root = (project in file("."))
64
64
)
65
65
.aggregate(
66
66
cucumberScala.projectRefs ++
67
+ integrationTestsCommon.projectRefs ++
68
+ integrationTestsJackson.projectRefs ++
67
69
examples.projectRefs: _*
68
70
)
69
71
@@ -75,9 +77,8 @@ lazy val cucumberScala = (projectMatrix in file("cucumber-scala"))
75
77
libraryDependencies ++= Seq (
76
78
" io.cucumber" % " cucumber-core" % cucumberVersion,
77
79
// Users have to provide it (for JacksonDefaultDataTableTransformer)
78
- ( " com.fasterxml.jackson.module" %% " jackson-module-scala" % jacksonVersion % Provided ) ,
80
+ " com.fasterxml.jackson.module" %% " jackson-module-scala" % jacksonVersion % Provided ,
79
81
" junit" % " junit" % junitVersion % Test ,
80
- " io.cucumber" % " cucumber-junit" % cucumberVersion % Test ,
81
82
(" org.mockito" %% " mockito-scala" % mockitoScalaVersion % Test )
82
83
.cross(CrossVersion .for3Use2_13)
83
84
),
@@ -120,6 +121,36 @@ lazy val cucumberScala = (projectMatrix in file("cucumber-scala"))
120
121
)
121
122
.jvmPlatform(scalaVersions = Seq (scala3, scala213, scala212))
122
123
124
+ // Integration tests
125
+ lazy val integrationTestsCommon =
126
+ (projectMatrix in file(" integration-tests/common" ))
127
+ .settings(commonSettings)
128
+ .settings(
129
+ name := " integration-tests-common" ,
130
+ libraryDependencies ++= Seq (
131
+ " junit" % " junit" % junitVersion % Test ,
132
+ " io.cucumber" % " cucumber-junit" % cucumberVersion % Test
133
+ ),
134
+ publishArtifact := false
135
+ )
136
+ .dependsOn(cucumberScala % Test )
137
+ .jvmPlatform(scalaVersions = Seq (scala3, scala213, scala212))
138
+
139
+ lazy val integrationTestsJackson =
140
+ (projectMatrix in file(" integration-tests/jackson" ))
141
+ .settings(commonSettings)
142
+ .settings(
143
+ name := " integration-tests-jackson" ,
144
+ libraryDependencies ++= Seq (
145
+ " junit" % " junit" % junitVersion % Test ,
146
+ " io.cucumber" % " cucumber-junit" % cucumberVersion % Test ,
147
+ " com.fasterxml.jackson.module" %% " jackson-module-scala" % jacksonVersion % Test
148
+ ),
149
+ publishArtifact := false
150
+ )
151
+ .dependsOn(cucumberScala % Test )
152
+ .jvmPlatform(scalaVersions = Seq (scala3, scala213, scala212))
153
+
123
154
// Examples project
124
155
lazy val examples = (projectMatrix in file(" examples" ))
125
156
.settings(commonSettings)
@@ -156,7 +187,7 @@ releaseProcess := Seq[ReleaseStep](
156
187
// commitReleaseVersion,
157
188
// tagRelease,
158
189
releaseStepCommandAndRemaining(" publishSigned" ),
159
- releaseStepCommand(" sonatypeBundleRelease" ),
190
+ releaseStepCommand(" sonatypeBundleRelease" )
160
191
// the 3 following steps are part of the Cucumber release process
161
192
// setNextVersion,
162
193
// commitNextVersion,
0 commit comments