Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for assertTestsExecuted (0.44 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

            }
    
            TestClassExecutionResult assertTestsExecuted(String... testNames) {
                return assertTestsExecuted(testNames.collect { testCase(it) } as TestCase[])
            }
    
            @Override
            TestClassExecutionResult assertTestsExecuted(TestCase... testCases) {
                def executedAndNotSkipped = testsExecuted - testsSkipped
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. 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)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAssumptionsIntegrationTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top