mirror of https://github.com/sbt/sbt.git
Add szeiger's implementation of test-interface for JUnit to list of known frameworks
This commit is contained in:
parent
0df26ca314
commit
04e50bd218
|
|
@ -178,8 +178,8 @@ abstract class BasicScalaProject extends ScalaProject with BasicDependencyProjec
|
|||
* run*/
|
||||
def testFrameworks: Seq[TestFramework] =
|
||||
{
|
||||
import TestFrameworks.{ScalaCheck, ScalaTest, Specs}
|
||||
ScalaCheck :: Specs :: ScalaTest :: Nil
|
||||
import TestFrameworks.{JUnit, ScalaCheck, ScalaTest, Specs}
|
||||
ScalaCheck :: Specs :: ScalaTest :: JUnit :: Nil
|
||||
}
|
||||
/** The list of listeners for testing. */
|
||||
def testListeners: Seq[TestReportListener] = TestLogger(log) :: Nil
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ object TestFrameworks
|
|||
val ScalaCheck = new TestFramework("org.scalacheck.ScalaCheckFramework")
|
||||
val ScalaTest = new TestFramework("org.scalatest.tools.ScalaTestFramework")
|
||||
val Specs = new TestFramework("org.specs.runner.SpecsFramework")
|
||||
val JUnit = new TestFramework("com.novocode.junit.JUnitFramework")
|
||||
}
|
||||
|
||||
class TestFramework(val implClassName: String) extends NotNull
|
||||
|
|
|
|||
Loading…
Reference in New Issue