Skip to content

Commit 73942a7

Browse files
committed
Remove dependency on TestNG
1 parent 7f17deb commit 73942a7

File tree

4 files changed

+4
-14
lines changed

4 files changed

+4
-14
lines changed

build.sbt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import sbt._
2-
import io.github.soc.testng.{TestNGPlugin, TestNGScalaJSPlugin}
32
import TZDBTasks._
43

54
enablePlugins(MicrositesPlugin)
@@ -128,8 +127,6 @@ def copyAndReplace(srcDirs: Seq[File], destinationDir: File): Seq[File] = {
128127
}
129128

130129
lazy val scalajavatime = crossProject.crossType(CrossType.Full).in(file("."))
131-
.jvmConfigure(_.enablePlugins(TestNGPlugin))
132-
.jsConfigure(_.enablePlugins(TestNGScalaJSPlugin))
133130
.settings(commonSettings: _*)
134131
.jvmSettings(
135132
resolvers += Resolver.sbtPluginRepo("releases"),
@@ -138,8 +135,7 @@ lazy val scalajavatime = crossProject.crossType(CrossType.Full).in(file("."))
138135
baseDirectory in Test := baseDirectory.value.getParentFile,
139136
// Use CLDR provider for locales
140137
// https://docs.oracle.com/javase/8/docs/technotes/guides/intl/enhancements.8.html#cldr
141-
javaOptions in Test ++= Seq("-Duser.language=en", "-Duser.country=US", "-Djava.locale.providers=CLDR"),
142-
TestNGPlugin.testNGSuites := Seq(((resourceDirectory in Test).value / "testng.xml").absolutePath)
138+
javaOptions in Test ++= Seq("-Duser.language=en", "-Duser.country=US", "-Djava.locale.providers=CLDR")
143139
).jsSettings(
144140
tzDbSettings: _*
145141
).jsSettings(

changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<body>
1111
<!-- types are add, fix, remove, update -->
1212
<release version="2.0.0-M11" date="2017-04-16" description="v2.0.0-M11">
13+
<action dev="cquiroz" type="update" >
14+
Port all tests to scalatest
15+
</action>
1316
<action dev="alonsodomin" type="update" >
1417
Support localized timezone names
1518
</action>

jvm/src/test/resources/testng.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

project/plugins.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import sbt.Keys._
33
resolvers += Resolver.sonatypeRepo("public")
44

55
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.15")
6-
addSbtPlugin("io.github.soc" % "sbt-testng" % "4.0.0-M3")
76
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M15")
87

98
addSbtPlugin("com.fortysevendeg" % "sbt-microsites" % "0.3.3")

0 commit comments

Comments
 (0)