浏览代码

useJUnitPlatform for integration tests

Issue gh-9467
Rob Winch 4 年之前
父节点
当前提交
715f06c4c2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      buildSrc/src/main/groovy/io/spring/gradle/convention/IntegrationTestPlugin.groovy

+ 1 - 0
buildSrc/src/main/groovy/io/spring/gradle/convention/IntegrationTestPlugin.groovy

@@ -77,6 +77,7 @@ public class IntegrationTestPlugin implements Plugin<Project> {
 			testClassesDirs = project.sourceSets.integrationTest.output.classesDirs
 			classpath = project.sourceSets.integrationTest.runtimeClasspath
 			shouldRunAfter project.tasks.test
+			useJUnitPlatform()
 		}
 		project.tasks.check.dependsOn integrationTestTask