mirror of https://github.com/sbt/sbt.git
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:
parent
f8489a77c5
commit
8067eb42d5
|
|
@ -0,0 +1,7 @@
|
|||
import org.scalatest._
|
||||
|
||||
class TestQuickSuite extends FunSuite {
|
||||
test("a test") {
|
||||
throw new IllegalStateException
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
import org.scalatest._
|
||||
|
||||
class TestQuickSuite extends FunSuite {
|
||||
test("a test") {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
project.version=1.0
|
||||
project.name=Test Failed
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
import sbt._
|
||||
|
||||
class TestQuickProject(info: ProjectInfo) extends DefaultProject(info) {
|
||||
val scalatest = "org.scalatest" % "scalatest" % "0.9.3"
|
||||
}
|
||||
|
|
@ -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]
|
||||
Loading…
Reference in New Issue