- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for assertTestsSkipped (0.42 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy
} TestClassExecutionResult assertTestsSkipped(String... testNames) { throw new UnsupportedOperationException() } @Override TestClassExecutionResult assertTestPassed(String name, String displayName) { throw new UnsupportedOperationException() } TestClassExecutionResult assertTestSkipped(String name) { def testMethodNode = findTestMethod(name)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy
assert failures == testsFailures.size() return this } int getTestCount() { return testsExecuted.size() } TestClassExecutionResult assertTestsSkipped(String... testNames) { assert testsSkipped == testNames.collect { testCase(it) } as Set return this } @Override
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/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy
.assertTestCount(4, 1, 1, 0) .assertTestFailed("some failing test", equalTo('failure message')) .assertTestsSkipped("some skipped test") .assertTestsExecuted("some test", "some test two", "some failing test") .assertStdout(equalTo("""1st output message 2nd output message """))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:05 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy
result.testClass("MixedTests").assertTestCount(2, 0, 0) result.testClass("MixedTests").assertTestsExecuted('tagAOk1') result.testClass("MixedTests").assertTestsSkipped('ignoredWithTagA') } def "can combine tags with custom extension"() { given: testSources.with { sourceFile("Locales.java").withSource("""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy
result.testClass("MixedTests").assertTestCount(3, 0, 0) result.testClass("MixedTests").assertTestsExecuted('catAOk1', 'catBOk2') result.testClass("MixedTests").assertTestsSkipped('ignoredWithCategoryA') } def "can combine categories with custom runner"() { given: testSources.with { testCategory('CategoryA')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 19.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy
then: new DefaultTestExecutionResult(testDirectory) .assertTestClassesExecuted('org.gradle.IgnoredTest') .testClass('org.gradle.IgnoredTest').assertTestCount(1, 0, 0).assertTestsSkipped("testIgnored1()") } def 'can handle class-level error in #location method'() { given: file('src/test/java/org/gradle/ClassErrorTest.java') << """ package org.gradle;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 17.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/vintage/JUnitVintageSmokeMultiVersionIntegrationTest.groovy
@Override void assertTestSkippedOrPassed(TestClassExecutionResult testClassResult, String testName) { testClassResult.assertTestSkipped(testName) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformSampleIntegrationTest.groovy
.assertTestPassed('repeated()[1]', 'repetition 1 of 2') .assertTestPassed('repeated()[2]', 'repetition 2 of 2') .assertTestPassed('test1(TestInfo)', 'TEST 1') .assertTestSkipped('disabled') } @UsesSample('testing/junitplatform-mix/groovy') def 'mix JUnit3/4/5'() { given: super.sample sample when: succeeds('test')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGFailurePolicyIntegrationTest.groovy
} def "skips tests after a config method failure by default"() { expect: fails "test" and: testResults.assertConfigMethodFailed("fail") testResults.assertTestSkipped("someTest") } def "can be configured to continue executing tests after a config method failure"() { when: assumeTrue(supportConfigFailurePolicy()) buildFile << """
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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy
def result = new DefaultTestExecutionResult(testDirectory) result.testClass('pkg.FailedTest').assertTestFailed('failTest', CoreMatchers.anything()) result.testClass('pkg.OtherTest').assertTestSkipped('passingTest') where: description | taskList | buildConfig 'failFast = true' | ['test'] | 'test { failFast = true }'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.7K bytes - Viewed (0)