Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for DefaultTestExecutionResult (0.31 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/DefaultTestExecutionResult.groovy

    import org.gradle.test.fixtures.file.TestFile
    import org.hamcrest.Matcher
    
    class DefaultTestExecutionResult implements TestExecutionResult {
    
        List<TestExecutionResult> results = []
        HtmlTestExecutionResult htmlResult
        JUnitXmlTestExecutionResult xmlResult
    
        DefaultTestExecutionResult(TestFile projectDir, String buildDirName = 'build', String binary='', String testedBinary = '', String testTaskName = 'test') {
    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. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/cucumberjvm/CucumberJVMReportIntegrationTest.groovy

        def testReportingSupportsCucumberStepsWithSlashes() {
            when:
            run "test"
            then:
            executedAndNotSkipped(":test")
            and:
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted("RunCukesTest", "Hello World /one")
            result.testClass("Hello World /one").assertTestPassed("Say hello /two/three")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitEnclosedRunnerIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testing.junit
    
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.testing.fixture.AbstractTestingMultiVersionIntegrationTest
    import spock.lang.Issue
    
    abstract class AbstractJUnitEnclosedRunnerIntegrationTest extends AbstractTestingMultiVersionIntegrationTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4RerunPreviousFailedTestIntegrationTest.groovy

        }
    
        void testFailed(def indexOfTestToFail) {
            new DefaultTestExecutionResult(testDirectory)
                .testClass("ConditionalFailingTest_${indexOfTestToFail}").assertTestFailed('failedTest', CoreMatchers.anything())
        }
    
        void allTestsSucceed() {
            new DefaultTestExecutionResult(testDirectory).assertTestClassesExecuted(TEST_CLASSES as String[])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testing.junit.platform
    
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    
    import static org.hamcrest.CoreMatchers.containsString
    import static org.gradle.testing.fixture.JUnitCoverage.LATEST_JUPITER_VERSION
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformSampleIntegrationTest.groovy

            when:
            succeeds('test')
    
            then:
            new DefaultTestExecutionResult(sample.dir)
                .testClass('org.gradle.junitplatform.JUnit3Test').assertTestCount(1, 0, 0)
            new DefaultTestExecutionResult(sample.dir)
                .testClass('org.gradle.junitplatform.JUnit4Test').assertTestCount(1, 0, 0)
            new DefaultTestExecutionResult(sample.dir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/AbstractTestNGFilteringIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    
    package org.gradle.testing.testng
    
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.testing.AbstractTestFilteringIntegrationTest
    import spock.lang.Issue
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestEnvironmentIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.testing
    
    import org.gradle.integtests.fixtures.AvailableJavaHomes
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.UnitTestPreconditions
    import org.gradle.testing.fixture.AbstractTestingMultiVersionIntegrationTest
    import org.gradle.util.Matchers
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/AbstractTestFrameworkOptionsIntegrationTest.groovy

            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted("com.example.IncludedTest")
            result.assertTestClassesNotExecuted("com.example.ExcludedTest")
        }
    
        void assertIntegrationTestsWereExecutedAndExcluded() {
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory, 'build', '', '', 'integrationTest')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/integTest/groovy/org/gradle/api/internal/tasks/testing/JULRedirectorIntegrationTest.groovy

            given:
            testResources.maybeCopy('JULRedirectorIntegrationTest/loggingConfig')
    
            when:
            run("test")
    
            then:
            DefaultTestExecutionResult testResult = new DefaultTestExecutionResult(testDirectory);
            LYRICS.each {
                testResult.testClass("com.example.LumberJackTest").assertStderr(not(containsString(it)));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top