Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for assertTestsExecuted (0.19 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

                                }
                            }
                        }
                    }
                }
            }
            """.stripMargin()
    
            expect:
            succeeds ":test"
            assertTestsExecuted()
        }
    
        def "can set options on default test task directly, outside of default test suite, then again inside suite"() {
            given:
            buildFile << """
            test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitCategoriesOrTagsCoverageIntegrationSpec.groovy

            result.testClass("SomeOtherCatTests").assertTestsExecuted('someOtherOk1', 'someOtherOk2')
            result.testClass("NoCatTests").assertTestCount(2, 0, 0)
            result.testClass("NoCatTests").assertTestsExecuted('noCatOk1', 'noCatOk2')
            result.testClass("SomeTests").assertTestCount(3, 0, 0)
            result.testClass("SomeTests").assertTestsExecuted('noCatOk3', 'noCatOk4', 'someOtherCatOk2')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 14:54:49 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/DefaultTestExecutionResult.groovy

            }
    
            TestClassExecutionResult assertTestsExecuted(String... testNames) {
                testClassResults*.assertTestsExecuted(removeAllParentheses(testNames))
                this
            }
    
            @Override
            TestClassExecutionResult assertTestsExecuted(TestCase... testCases) {
                testClassResults*.assertTestsExecuted(testCases)
                this
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

            def mixedMethods = executionResult.testClass("org.MixedMethodsTest")
                    .assertTestCount(4, 2, 0)
                    .assertTestsExecuted("passing", "passing2", "failing", "failing2")
                    .assertTestFailed("failing", equalTo('java.lang.AssertionError: failing!'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            result.testClass("CategoryATests").assertTestsExecuted('catAOk1', 'catAOk2', 'catAOk3', 'catAOk4')
            result.testClass("CategoryBTests").assertTestCount(4, 0, 0)
            result.testClass("CategoryBTests").assertTestsExecuted('catBOk1', 'catBOk2', 'catBOk3', 'catBOk4')
            result.testClass("CategoryADTests").assertTestCount(2, 0, 0)
            result.testClass("CategoryADTests").assertTestsExecuted('catAOk1', 'catAOk2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            def testClassFile = file("build/classes/java/test/ThingTest.class")
            testClassFile.isFile()
            def testResults = file("build/test-results/test")
            testResults.isDirectory()
            assertTestsExecuted("ThingTest", "ok")
    
            when:
            configurationCacheRun "build"
    
            then:
            assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top