mirror of https://github.com/sbt/sbt.git
test case for #777 (custom testGrouping+no tests)
This commit is contained in:
parent
cb3df0982f
commit
16da91946b
|
|
@ -0,0 +1,8 @@
|
|||
testGrouping <<= (definedTests in Test) map { tests =>
|
||||
tests map { test =>
|
||||
new Tests.Group(
|
||||
name = test.name,
|
||||
tests = Seq(test),
|
||||
runPolicy = Tests.SubProcess(javaOptions = Seq.empty[String]))
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# https://github.com/sbt/sbt/issues/777
|
||||
# throws an exception for custom groupings when no tests are defined
|
||||
> test
|
||||
Loading…
Reference in New Issue