Added test-failed test

git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@869 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
dmharrah 2009-07-16 15:40:12 +00:00
parent f8489a77c5
commit 8067eb42d5
5 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import org.scalatest._
class TestQuickSuite extends FunSuite {
test("a test") {
throw new IllegalStateException
}
}

View File

@ -0,0 +1,7 @@
import org.scalatest._
class TestQuickSuite extends FunSuite {
test("a test") {
true
}
}

View File

@ -0,0 +1,2 @@
project.version=1.0
project.name=Test Failed

View File

@ -0,0 +1,5 @@
import sbt._
class TestQuickProject(info: ProjectInfo) extends DefaultProject(info) {
val scalatest = "org.scalatest" % "scalatest" % "0.9.3"
}

View File

@ -0,0 +1,26 @@
> update
[success]
$ copy-file changes/Fail.scala src/test/scala/TestQuickSuite.scala
[success]
> test-failed
[failure]
> test-failed *
[failure]
> test-failed TestQuickSuite
[failure]
$ copy-file changes/Success.scala src/test/scala/TestQuickSuite.scala
[success]
> test-failed
[success]
> test-failed *
[success]
> test-failed TestQuickSuite
[success]