Skip to content

Commit 4a74d6f

Browse files
committed
community build: add scalatestplus-testng
It is a dependency of the ScalaTest test suite since ScalaTest 3.2.4
1 parent 24f4f88 commit 4a74d6f

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,6 @@
193193
[submodule "community-build/community-projects/play-json"]
194194
path = community-build/community-projects/play-json
195195
url = https://github.com/dotty-staging/play-json.git
196+
[submodule "community-build/community-projects/scalatestplus-testng"]
197+
path = community-build/community-projects/scalatestplus-testng
198+
url = https://github.com/dotty-staging/scalatestplus-testng.git

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,13 @@ object projects:
302302
dependencies = List(scalatest)
303303
)
304304

305+
lazy val scalatestplusTestNG = SbtCommunityProject(
306+
project = "scalatestplus-testng",
307+
sbtTestCommand = "test",
308+
sbtPublishCommand = "publishLocal",
309+
dependencies = List(scalatest)
310+
)
311+
305312
lazy val scalaXml = SbtCommunityProject(
306313
project = "scala-xml",
307314
sbtTestCommand = "xml/test",
@@ -739,6 +746,7 @@ def allProjects = List(
739746
projects.protoquill,
740747
projects.onnxScala,
741748
projects.playJson,
749+
projects.scalatestplusTestNG,
742750
)
743751

744752
lazy val projectMap = allProjects.groupBy(_.project)

community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class CommunityBuildTestA extends CommunityBuildTest:
9797
@Test def izumiReflect = projects.izumiReflect.run()
9898
@Test def scalaSTM = projects.scalaSTM.run()
9999
@Test def scalatest = projects.scalatest.run()
100+
@Test def scalatestplusTestNG = projects.scalatestplusTestNG.run()
100101
// 'Sciss/Lucre' dependencies:
101102
// @Test def scissEqual = projects.scissEqual .run()
102103
// @Test def scissFingerTree = projects.scissFingerTree.run()

0 commit comments

Comments
 (0)