summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/build/Project.scala14
1 files changed, 11 insertions, 3 deletions
diff --git a/project/build/Project.scala b/project/build/Project.scala
index 3effd88..6a100fe 100644
--- a/project/build/Project.scala
+++ b/project/build/Project.scala
@@ -18,14 +18,22 @@ class Project(info: ProjectInfo) extends DefaultProject(info) with posterous.Pub
// -------------------------------------------------------------------------------------------------------------------
import Repositories._
+ val snapshots = "snapshots" at "http://scala-tools.org/repo-snapshots"
+
// -------------------------------------------------------------------------------------------------------------------
// Dependencies
// -------------------------------------------------------------------------------------------------------------------
val parboiledC = "org.parboiled" % "parboiled-core" % "1.0.1" % "compile" withSources()
val parboiledS = "org.parboiled" % "parboiled-scala" % "1.0.1" % "compile" withSources()
-
- val specs = "org.scala-tools.testing" %% "specs" % "1.6.8" % "test" withSources()
-
+
+ // -------------------------------------------------------------------------------------------------------------------
+ // Testing with Specs2
+ // -------------------------------------------------------------------------------------------------------------------
+ val specs2 = "org.specs2" %% "specs2" % "1.6-SNAPSHOT" % "test" withSources()
+
+ def specs2Framework = new TestFramework("org.specs2.runner.SpecsFramework")
+ override def testFrameworks = super.testFrameworks ++ Seq(specs2Framework)
+
// -------------------------------------------------------------------------------------------------------------------
// Options
// -------------------------------------------------------------------------------------------------------------------