summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorNikolay Tatarinov <5min4eq.unity@gmail.com>2018-02-22 11:18:45 +0300
committerGitHub <noreply@github.com>2018-02-22 11:18:45 +0300
commit2cbc8d403715bc909325c9323ef58ffb47b22e1f (patch)
tree3cebde274f4f31a643e6d9c9d728b01d83649130 /main
parent107ba88754673e08b030b9ba1c8f4e6f1eefd13d (diff)
downloadmill-2cbc8d403715bc909325c9323ef58ffb47b22e1f.tar.gz
mill-2cbc8d403715bc909325c9323ef58ffb47b22e1f.tar.bz2
mill-2cbc8d403715bc909325c9323ef58ffb47b22e1f.zip
support multiple test frameworks (#148)
support multiple test frameworks
Diffstat (limited to 'main')
-rw-r--r--main/test/src/mill/define/DiscoverTests.scala2
-rw-r--r--main/test/src/mill/util/TestGraphs.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/test/src/mill/define/DiscoverTests.scala b/main/test/src/mill/define/DiscoverTests.scala
index 7621169a..cd9939f0 100644
--- a/main/test/src/mill/define/DiscoverTests.scala
+++ b/main/test/src/mill/define/DiscoverTests.scala
@@ -18,7 +18,7 @@ object DiscoverTests extends TestSuite{
check(TestGraphs.triangleTask)(_.left, _.right)
}
'TraitWithModuleObject - {
- check(TestGraphs.TraitWithModuleObject)(_.TraitModule.testFramework)
+ check(TestGraphs.TraitWithModuleObject)(_.TraitModule.testFrameworks)
}
'nestedModule - {
check(TestGraphs.nestedModule)(_.single, _.nested.single, _.classInstance.single)
diff --git a/main/test/src/mill/util/TestGraphs.scala b/main/test/src/mill/util/TestGraphs.scala
index 20f5c9ef..750ef015 100644
--- a/main/test/src/mill/util/TestGraphs.scala
+++ b/main/test/src/mill/util/TestGraphs.scala
@@ -185,7 +185,7 @@ object TestGraphs{
trait TraitWithModule extends Module{ outer =>
object TraitModule extends Module{
- def testFramework = T{ "mill.UTestFramework" }
+ def testFrameworks = T{ Seq("mill.UTestFramework") }
def test() = T.command{ ()/*donothing*/ }
}
}