Revert "add alternative way to filter tests. It may be useful for 3rd party plugins"

This reverts commit 1658d79ba284069b039d391c53eb1ce626b8a9fd.
The wiki has been replaced by scala-sbt.org as described at the top of the page.
Please make changes to src/sphinx/ in the sbt project.
Mark Harrah 2012-10-22 14:39:16 -04:00
parent 1658d79ba2
commit b4aa5c7f6d
1 changed files with 1 additions and 9 deletions

@ -141,18 +141,10 @@ parallelExecution in Test := false
If you want to only run test classes whose name ends with "Test", use `Tests.Filter`:
```scala
```
testOptions in Test := Seq(Tests.Filter(s => s.endsWith("Test")))
```
or if you want remove other tests from `detected-tests` for some reason:
```scala
definedTests in Test <<= (definedTests in Test) {
(tests) =>
def filter(tests: Seq[TestDefinition]) = tests.filter(t => t.name.endsWith("Test"))
tests map filter
}
```
## Forking tests
In version 0.12 the facility to run tests in a separate JVM has been added. The setting