Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for someTest (0.15 sec)

  1. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

            outputContains "START Test Suite [SomeTest] [SomeTest]"
            outputContains "FINISH Test Suite [SomeTest] [SomeTest]"
            outputContains "START Test Case [SomeTest] [$failingTestCaseName]"
            outputContains "FINISH Test Case [SomeTest] [$failingTestCaseName] [FAILURE] [1]"
            outputContains "START Test Case [SomeTest] [$passingTestCaseName]"
            outputContains "FINISH Test Case [SomeTest] [$passingTestCaseName] [SUCCESS] [1]"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

            outputContains "START [Test method pass(SomeTest)] [pass]\n"
            outputContains "FINISH [Test method pass(SomeTest)] [pass] [null]\n"
            outputContains "START [Test method fail(SomeTest)] [fail]\n"
            outputContains "FINISH [Test method fail(SomeTest)] [fail] [java.lang.AssertionError]\n"
            outputContains "START [Test method knownError(SomeTest)] [knownError]\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                }
            """.stripIndent()
            file('src/test/java/org/gradle/SomeTest.java') << """
                package org.gradle;
                public class SomeTest extends AbstractTest {
                }
            """.stripIndent()
            file('src/test/java/org/gradle/SomeTest2.java') << """
                package org.gradle;
                public class SomeTest2 extends AbstractTest {
                }
            """.stripIndent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                additionalData.asMap == ['requestedPath' : ':someTest']
            }
            failure.assertHasDescription("Cannot locate tasks that match ':someTest' as task 'someTest' not found in root project 'test'. Some candidates are: 'someTask'.")
            failure.assertHasResolutions(
                GET_TASKS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

            when:
            buildScript """
                $junitSetup
            """
            rerunningTest("SomeTest")
            fails "test"
    
            then:
            def xmlReport = new JUnitXmlTestExecutionResult(testDirectory)
            def clazz = xmlReport.testClass("SomeTest")
            clazz.testCount == 6
            (clazz as JUnitTestClassExecutionResult).testCasesCount == 6
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/native/swift_testing.adoc

    Gradle provides filtering to do this.
    You can select tests to run based on:
    
    - A simple class name or method name, e.g. `SomeTest`, `SomeTest.someMethod`
    - ‘*’ wildcard matching
    
    You can enable filtering either in the build script or via the `--tests` command-line option.
    Here’s an example of some filters that are applied every time the build runs:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

                }
            """, version)
    
            file("src/test/java/SomeTest.java") << """
                import java.util.stream.Stream;
                import org.junit.jupiter.params.ParameterizedTest;
                import org.junit.jupiter.params.provider.Arguments;
                import org.junit.jupiter.params.provider.MethodSource;
    
                class SomeTest {
                    public static Stream<Arguments> args() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy

            given:
            def maxParallelForks = maxWorkers + 1
    
            and:
            2000.times { num ->
                file("src/test/java/SomeTest${num}.java") << testClass("SomeTest${num}")
            }
    
            and:
            buildFile << """
                test {
                    maxParallelForks = $maxParallelForks
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

            settingsFile << """
                rootProject.name = 'root'
            """
    
            // add some more progress events
            file('src/test/java/SomeTest.java') << """
                public class SomeTest{
                    @org.junit.Test
                    public void test1(){}
    
                    @org.junit.Test
                    public void test2(){}
    
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy

            """
    
            file('src/test/java/AppException.java') << 'public class AppException extends Exception {}'
            file('src/test/java/SomeTest.java') << '''
                import org.testng.annotations.Test;
                import static org.testng.Assert.assertEquals;
    
                public class SomeTest {
                    @Test
                    public void pass() {}
    
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 22.1K bytes
    - Viewed (0)
Back to top