- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withTaskAndTestClasses (0.35 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy
public class SimpleTests { @Test @DisplayName("and a test display name") void test() { } } """ when: launchTests { TestLauncher launcher -> launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests']) } then: jvmTestEvents { task(":test") { suite("Gradle Test Run :test") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy
""" when: withConnection { connection -> def testLauncher = connection.newTestLauncher() collectOutputs(testLauncher) testLauncher.withTaskAndTestClasses(":other-build:sub:test", ["MyIncludedTest"]).run() } then: outputContains("BUILD SUCCESSFUL") } private void executeTaskViaTAPI(String... tasks) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 15.5K bytes - Viewed (0)