aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2012-11-05 16:20:48 +0100
committerJason Zaugg <jzaugg@gmail.com>2012-11-05 16:32:01 +0100
commit57a5012514cf691fddf184cc85967e39cdc540b6 (patch)
treed4d2226c54179947f028bbfb1cc4bb9f2abb07d7 /build.sbt
parent3f36c1ea4b95ba046fa378ade19ca368e6e5c21b (diff)
downloadscala-async-57a5012514cf691fddf184cc85967e39cdc540b6.tar.gz
scala-async-57a5012514cf691fddf184cc85967e39cdc540b6.tar.bz2
scala-async-57a5012514cf691fddf184cc85967e39cdc540b6.zip
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.
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt13
1 files changed, 12 insertions, 1 deletions
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