File tree 5 files changed +30
-0
lines changed
src/test/scala-2/com/baeldung/junit5
5 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,12 @@ lazy val scala_test_junit4 = (project in file("scala-test-junit4"))
228
228
)
229
229
)
230
230
231
+ lazy val scala_test_junit5 = (project in file(" scala-test-junit5" ))
232
+ .settings(
233
+ name := " scala-test-junit5" ,
234
+ scalaVersion := scala3Version
235
+ )
236
+
231
237
lazy val scala_akka = (project in file(" scala-akka" ))
232
238
.configs(IntegrationTest )
233
239
.settings(
Original file line number Diff line number Diff line change
1
+ ### Relevant Articles:
2
+
3
+ - [ Testing Scala with JUnit] ( https://www.baeldung.com/scala/junit-testing )
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments