【发布时间】:2020-03-11 21:11:40
【问题描述】:
当我们只有 JUnit4 测试时,我们使用了
test {
useJUnit{
excludeCategories "SlowTests"
}
}
现在迁移到 JUnit5 并且仍然有 JUnit4 测试,我们如何在 JUnitPlattform 中使用它来让标有 JUnit 测试类别的测试输出?
test {
useJUnitPlatform{
// ???
}
}
【问题讨论】: