mirror of https://github.com/sbt/sbt.git
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:
parent
9dcb8727d8
commit
f7cd647a2f
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue