- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 74 for assertTestClassesExecuted (0.56 sec)
-
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesJavaQuickstartIntegrationTest.groovy
executer.inDirectory(javaprojectDir).withTasks('clean', 'build').run() then: "Check tests have run" def result = new DefaultTestExecutionResult(javaprojectDir) result.assertTestClassesExecuted('org.gradle.PersonTest') // Check jar exists def jarFile = javaprojectDir.file("build/libs/quickstart-1.0.jar") jarFile.assertIsFile() // Check contents of Jar
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformSampleIntegrationTest.groovy
def 'engine sample test'() { given: super.sample sample when: succeeds('test') then: new DefaultTestExecutionResult(sample.dir) .assertTestClassesExecuted('org.gradle.junitplatform.JUnit4Test') .testClass('org.gradle.junitplatform.JUnit4Test').assertTestCount(1, 0, 0) } @UsesSample('testing/junitplatform-tagging/groovy')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy
targetDir.file("webinar-war/build/libs/webinar-war-1.0-SNAPSHOT.war").exists() new DefaultTestExecutionResult(targetDir.file("webinar-impl")).assertTestClassesExecuted('webinar.WebinarTest') when: run 'projects' then: output.contains """ Root project 'webinar-parent' +--- Project ':webinar-api' - Webinar APIs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 14 15:23:34 UTC 2024 - 31.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestClassDetectionIntegrationTest.groovy
""".stripIndent() when: run "othertestsTest" then: def result = new DefaultTestExecutionResult(testDirectory, 'build', '', '', 'othertestsTest') result.assertTestClassesExecuted("SomeTestClass") } @Issue("https://issues.gradle.org/browse/GRADLE-3157") def "test class detection works when '-parameters' compiler option is used (JEP 118)"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/JdkIllegalReflectionTestWorkerIntegrationTest.groovy
result.assertHasErrorOutput("module java.base does not open java.lang to unnamed module") expect: fails "test" def results = new DefaultTestExecutionResult(file(".")) results.assertTestClassesExecuted("example.MainTest") results.testClass("example.MainTest").assertTestFailed("runTest", containsString('module java.base does not open java.lang to unnamed module')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaQuickstartIntegrationTest.groovy
executer.inDirectory(projectDir).withTasks('clean', 'build').run() // Check tests have run def result = new DefaultTestExecutionResult(projectDir) result.assertTestClassesExecuted('org.gradle.sample.PersonSpec') // Check contents of Jar TestFile jarContents = file('jar') projectDir.file("build/libs/quickstart.jar").unzipTo(jarContents)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestReportIntegrationTest.groovy
when: succeeds "testReport" then: skipped(":otherTests") executedAndNotSkipped(":test") new HtmlTestExecutionResult(testDirectory, "build/reports/tr").assertTestClassesExecuted("Thing") } def "results or reports are linked to in error output"() { given: buildScript """ $junitSetup test {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4IgnoreClassIntegrationTest.groovy
test.${configureTestFramework} """ when: run('check') then: def result = new DefaultTestExecutionResult(testDirectory) result.assertTestClassesExecuted('org.gradle.CustomIgnoredTest') result.testClass('org.gradle.CustomIgnoredTest').assertTestCount(3, 0, 0).assertTestsSkipped("first test run", "second test run", "third test run") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4JUnitIntegrationTest.groovy
""".stripIndent() when: executer.withTasks('test').run() then: DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory) result.assertTestClassesExecuted('org.gradle.ExecutionOrderTest') result.testClass('org.gradle.ExecutionOrderTest').assertTestPassed('classUnderTestIsLoadedOnlyByRunner') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGSuiteIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.9K bytes - Viewed (0)