This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
import Keys._ | |
object TestBuild extends Build { | |
lazy val root = Project(id = "root", base = file(".")).aggregate(project1, project2) | |
lazy val project1 = Project("project1", file("project1"), | |
settings = defaultSettings ++ Seq( | |
libraryDependencies += "org.specs2" %% "specs2" % "2.1.1" % "test" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait MongoTestPerSpecification extends SpecificationLike { | |
sequential | |
val mongodConfig = new MongodConfig(V2_4_3, 27018, false) | |
val artifactStorePath = new FixedPath("../mongodb") | |
val tempDir = new FixedPath(System.getProperty("java.io.tmpdir")) | |
val command = Command.MongoD | |
val processOutput = new ProcessOutput(new NullProcessor, | |
Processors.namedConsole("[MONGOD>]"), Processors.namedConsole("[console>]")) |