I have a simple ScalaTest on FunSuite:
package pdbartlett.hello_sbt
import org.scalatest.FunSuite
class SanityTest extends FunSuite {
test("a simple test") {
assert(true)
}
test("a very slightly more complicated test - purposely fails") {
assert(42 === (6 * 9))
}
}
What I start with the following SBT project configuration:
import sbt._
class HelloSbtProject(info: ProjectInfo) extends DefaultProject(info) {
lazy val solveQ = task { println("42"); None }
val scalatest = "org.scalatest" % "scalatest" % "1.0" % "test"
}
However, when I start sbt test, I get the following warnings:
...
[info] == test-compile ==
[info] Source analysis: 0 new/modified, 0 indirectly invalidated, 0 removed.
[info] Compiling test sources...
[info] Nothing to compile.
[warn] Could not load superclass 'org.scalacheck.Properties' : java.lang.ClassNotFoundException: org.scalacheck.Properties
[warn] Could not load superclass 'org.specs.Specification' : java.lang.ClassNotFoundException: org.specs.Specification
[warn] Could not load superclass 'org.specs.Specification' : java.lang.ClassNotFoundException: org.specs.Specification
[info] Post-analysis: 3 classes.
[info] == test-compile ==
...
At the moment, I assume that this is just βnoiseβ (caused by the unified testing interface?), And I can safely ignore them. But this is a bit annoying part of the inside of OCD (although not so annoying that I'm ready to add dependencies for other frameworks).
/ ? , , , ?
,
.
(ADDED: scala v2.7.7 sbt v0.7.4)