@@ -64,6 +64,8 @@ lazy val root = (project in file("."))
6464 )
6565 .aggregate(
6666 cucumberScala.projectRefs ++
67+ integrationTestsCommon.projectRefs ++
68+ integrationTestsJackson.projectRefs ++
6769 examples.projectRefs: _*
6870 )
6971
@@ -75,9 +77,8 @@ lazy val cucumberScala = (projectMatrix in file("cucumber-scala"))
7577 libraryDependencies ++= Seq (
7678 " io.cucumber" % " cucumber-core" % cucumberVersion,
7779 // 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 ,
7981 " junit" % " junit" % junitVersion % Test ,
80- " io.cucumber" % " cucumber-junit" % cucumberVersion % Test ,
8182 (" org.mockito" %% " mockito-scala" % mockitoScalaVersion % Test )
8283 .cross(CrossVersion .for3Use2_13)
8384 ),
@@ -120,6 +121,36 @@ lazy val cucumberScala = (projectMatrix in file("cucumber-scala"))
120121 )
121122 .jvmPlatform(scalaVersions = Seq (scala3, scala213, scala212))
122123
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+
123154// Examples project
124155lazy val examples = (projectMatrix in file(" examples" ))
125156 .settings(commonSettings)
@@ -156,7 +187,7 @@ releaseProcess := Seq[ReleaseStep](
156187 // commitReleaseVersion,
157188 // tagRelease,
158189 releaseStepCommandAndRemaining(" publishSigned" ),
159- releaseStepCommand(" sonatypeBundleRelease" ),
190+ releaseStepCommand(" sonatypeBundleRelease" )
160191 // the 3 following steps are part of the Cucumber release process
161192 // setNextVersion,
162193 // commitNextVersion,
0 commit comments