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:
Travis
2013-10-18 17:04:40 -04:00
committed by Mark Harrah
parent 9dcb8727d8
commit f7cd647a2f
+2 -2
View File
@@ -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"