mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 02:57:21 +02:00
Filter test options are backwards
The itFilter, defined as integration tests are configured to be run under task 'test' where I think you meant to hav then run under 'fun:test' and vise versa for the unitFilter.
This commit is contained in:
@@ -375,8 +375,8 @@ However, different tests are run depending on the configuration.
|
||||
.settings( inConfig(FunTest)(Defaults.testTasks) : _*)
|
||||
.settings(
|
||||
libraryDependencies += specs,
|
||||
testOptions in Test := Seq(Tests.Filter(itFilter)),
|
||||
testOptions in FunTest := Seq(Tests.Filter(unitFilter))
|
||||
testOptions in Test := Seq(Tests.Filter(unitFilter)),
|
||||
testOptions in FunTest := Seq(Tests.Filter(itFilter))
|
||||
)
|
||||
|
||||
def itFilter(name: String): Boolean = name endsWith "ITest"
|
||||
|
||||
Reference in New Issue
Block a user