mirror of
https://github.com/sbt/sbt.git
synced 2026-09-07 11:01:08 +02:00
test case for #777 (custom testGrouping+no tests)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user