- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for assertTestsExecuted (0.44 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy
* * This method exists for compatibility purposes, but is equivalent to {@link #assertTestsExecuted(java.lang.String[])}. */ @Override TestClassExecutionResult assertTestsExecuted(TestCase... testCases) { return assertTestsExecuted(testCases.collect { it.displayName } as String[]) } TestClassExecutionResult assertTestCount(int tests, int failures, int errors) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.4K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/TestClassExecutionResult.java
*/ TestClassExecutionResult assertTestsExecuted(String... testNames); /** * Asserts that the given tests (and only the given tests) were executed for the given test class. * * This supports JUnit5 parameterized tests where the test name and display name may not match. */ TestClassExecutionResult assertTestsExecuted(TestCase... testCases);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy
when: run(testTaskName, "--tests", "${testSuite('SomeOtherTest')}.${removeParentheses(passingTestCaseName)}") then: testResult.testClass("SomeOtherTest").assertTestsExecuted(passingTestCaseName) when: run(testTaskName, "--tests", "${testSuite('SomeOtherTest')}.${removeParentheses(passingTestCaseName)}") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy
result.assertTasksExecuted(*expectedTasks) and: classFile.isFile() testClassFile.isFile() testResults.isDirectory() and: assertTestsExecuted("ThingTest", "ok") when: configurationCacheRun "clean" and: configurationCacheRun "build" then: configurationCache.assertStateLoaded()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy
result.testClass("TagATests").assertTestsExecuted('tagAOk1', 'tagAOk2', 'tagAOk3', 'tagAOk4') result.testClass("TagADTests").assertTestCount(3, 0, 0) result.testClass("TagADTests").assertTestsExecuted('tagAOk1', 'tagAOk2', 'tagDOk4') result.testClass("MixedTests").assertTestCount(2, 0, 0) result.testClass("MixedTests").assertTestsExecuted('tagAOk1')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 16.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAbortedTestClassIntegrationTest.groovy
result.assertTestClassesExecuted('org.gradle.SkippingRuleTests') result.testClass('org.gradle.SkippingRuleTests') .assertTestCount(3, 0, 0) .assertTestsExecuted('a', 'c') .assertTestsSkipped('b') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAssumptionsIntegrationTest.groovy
result.assertTestClassesExecuted('org.gradle.TestWithAssumptions') result.testClass('org.gradle.TestWithAssumptions') .assertTestCount(2, 0, 0) .assertTestsExecuted('assumptionSucceeded') .assertTestPassed('assumptionSucceeded') .assertTestsSkipped('assumptionFailed') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnit3FilteringIntegrationTest.groovy
then: def result = new DefaultTestExecutionResult(testDirectory) result.assertTestClassesExecuted("FooTest") result.testClass("FooTest").assertTestsExecuted("testPass") when: fails("test", "--tests", "FooTest.unknown") then: failure.assertHasCause("No tests found for given includes: [FooTest.unknown]") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitSuitesIntegrationTest.groovy
result.assertTestClassesExecuted('org.gradle.SomeTest') result.testClass("org.gradle.SomeTest").assertTestCount(2, 0, 0) result.testClass("org.gradle.SomeTest").assertTestsExecuted("ok", "ok") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.8K bytes - Viewed (0)