Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for assertTestsExecuted (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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
    """))
                .assertStderr(equalTo("err"))
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:05 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

            then:
            def result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted('org.gradle.groups.SomeTest')
            result.testClass('org.gradle.groups.SomeTest').assertTestsExecuted("databaseTest")
        }
    
        def "does not emit deprecation warning about no tests executed when groups are specified"() {
            buildFile << """
                test {
                    useTestNG {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top