Skip to content

Commit 09e4983

Browse files
authored
Merge pull request #1082 from yadavan88/revert-scala-test-junit5-deletion
Reverted deletion of junit-5 module
2 parents a696a24 + 7dc14b2 commit 09e4983

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

build.sbt

+6
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@ lazy val scala_test_junit4 = (project in file("scala-test-junit4"))
228228
)
229229
)
230230

231+
lazy val scala_test_junit5 = (project in file("scala-test-junit5"))
232+
.settings(
233+
name := "scala-test-junit5",
234+
scalaVersion := scala3Version
235+
)
236+
231237
lazy val scala_akka = (project in file("scala-akka"))
232238
.configs(IntegrationTest)
233239
.settings(

scala-test-junit5/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Relevant Articles:
2+
3+
- [Testing Scala with JUnit](https://www.baeldung.com/scala/junit-testing)

scala-test-junit5/build.sbt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name := "scala-test-junit-5"
2+
organization := "com.baeldung"
3+
4+
version := "1.0-SNAPSHOT"
5+
6+
resolvers += Resolver.jcenterRepo
7+
8+
libraryDependencies += "net.aichler" % "jupiter-interface" % JupiterKeys.jupiterVersion.value % Test

scala-test-junit5/project/plugins.sbt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.baeldung.junit5
2+
3+
import org.junit.jupiter.api.Disabled
4+
import org.junit.jupiter.api.Test
5+
6+
class ExampleTests {
7+
8+
@Disabled("Not implemented yet")
9+
@Test
10+
def testNotImplemented() {}
11+
12+
}

0 commit comments

Comments
 (0)