From 57a5012514cf691fddf184cc85967e39cdc540b6 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Mon, 5 Nov 2012 16:20:48 +0100 Subject: Improve test infrastructure - Convert tests to use JUnit - For the 'run' tests, just use plain-old-test-cases - Add a sample 'neg' test to use ToolBoxes to compile code snippets on the fly. --- build.sbt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'build.sbt') diff --git a/build.sbt b/build.sbt index d4d9e1f..5048313 100644 --- a/build.sbt +++ b/build.sbt @@ -6,4 +6,15 @@ name := "scala-async" version := "0.1-SNAPSHOT" -libraryDependencies <+= (scalaVersion)("org.scala-lang" % "scala-reflect" % _) +libraryDependencies <++= (scalaVersion){ sv => Seq( + "org.scala-lang" % "scala-reflect" % sv, + "org.scala-lang" % "scala-compiler" % sv % "test" + ) +} + +libraryDependencies += "junit" % "junit-dep" % "4.10" % "test" + +libraryDependencies += "com.novocode" % "junit-interface" % "0.10-M2" % "test" + +// TODO scalac / javac options +// TODO metadata -- cgit v1.2.3