From 2cbc8d403715bc909325c9323ef58ffb47b22e1f Mon Sep 17 00:00:00 2001 From: Nikolay Tatarinov <5min4eq.unity@gmail.com> Date: Thu, 22 Feb 2018 11:18:45 +0300 Subject: support multiple test frameworks (#148) support multiple test frameworks --- main/test/src/mill/define/DiscoverTests.scala | 2 +- main/test/src/mill/util/TestGraphs.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'main') 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*/ } } } -- cgit v1.2.3