diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-11-05 16:20:48 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-11-05 16:32:01 +0100 |
commit | 57a5012514cf691fddf184cc85967e39cdc540b6 (patch) | |
tree | d4d2226c54179947f028bbfb1cc4bb9f2abb07d7 /build.sbt | |
parent | 3f36c1ea4b95ba046fa378ade19ca368e6e5c21b (diff) | |
download | scala-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.sbt | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |