We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f5c45 commit 3d80cf4Copy full SHA for 3d80cf4
examples/gradle-example/src/test/scala/co/helmethair/scalatest/example/NestedTestGroup.scala
@@ -0,0 +1,29 @@
1
+package co.helmethair.scalatest.example
2
+
3
+import org.scalatest.Suite
4
+import org.scalatest.funspec.AnyFunSpec
5
6
+class NestedTestGroup extends AnyFunSpec {
7
8
+ import NestedTestGroup.*
9
10
+ override def nestedSuites: IndexedSeq[Suite] = IndexedSeq(
11
+ N1,
12
+ N2
13
+ )
14
15
+ it("c") {}
16
+}
17
18
+object NestedTestGroup {
19
20
+ class NestedSubTest extends AnyFunSpec {
21
22
+ it("a") {}
23
+ it("b") {}
24
+ }
25
26
+ object N1 extends NestedSubTest
27
+ object N2 extends NestedSubTest
28
29
0 commit comments