testGrouping := Def.uncached {
  val tests = (Test / definedTests).value
  tests map { test =>
    new Tests.Group(
      name = test.name,
      tests = Seq(test),
      runPolicy = Tests.SubProcess(ForkOptions().withRunJVMOptions(Vector()))
    )
  }
}
