Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for useTestNG (0.3 sec)

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

            buildFile << """
                apply plugin: "java"
                ${mavenCentralRepository()}
    
                testing {
                    suites {
                        test {
                            useTestNG('$version')
                            targets {
                                all {
                                    testTask.configure {
                                        reports.junitXml.outputPerTestCase = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

        def "supports test groups"() {
            buildFile << """
                ext {
                    ngIncluded = "database"
                    ngExcluded = "slow"
                }
                test {
                    useTestNG {
                        includeGroups ngIncluded
                        excludeGroups ngExcluded
                    }
                }
            """.stripIndent()
    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/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

        def "produces JUnit xml results - #mode.name"() {
            when:
            runWithTestConfig("useTestNG(); $mode.config")
    
            then:
            verify(mode)
    
            where:
            mode << modes
        }
    
        def "produces JUnit xml results when running tests in parallel - #mode.name"() {
            when:
            runWithTestConfig("useTestNG(); maxParallelForks 2; $mode.config")
    
            then:
            verify(mode)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/ConsoleTestNGUnsupportedTestWorkerFunctionalTest.groovy

            given:
            buildFile << """
                plugins {
                    id 'java-library'
                }
    
                ${mavenCentralRepository()}
    
                testing.suites.test {
                    useTestNG('$TESTNG_VERSION')
                    targets.test.testTask.configure {
                        maxParallelForks = $MAX_WORKERS
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.Test.xml

                </tr>
                <tr>
                    <td>useJUnit</td>
                </tr>
                <tr>
                    <td>useJUnitPlatform</td>
                </tr>
                <tr>
                    <td>useTestNG</td>
                </tr>
                <tr>
                    <td>workingDir</td>
                </tr>
                <tr>
                    <td>executable</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelSuiteIntegrationTest.groovy

                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies {
                    testImplementation 'org.testng:testng:$version'
                }
                test {
                  useTestNG {
                    suites "suite.xml"
                  }
                }
            """
        }
    
        def createTests(int testCount, int threadCount) {
            String suiteXml = ""
            testCount.times { x ->
    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/TestNGFailurePolicyIntegrationTest.groovy

        }
    
        def setup() {
            buildFile << """
                testing {
                    suites {
                        test {
                            useTestNG('${version}')
                        }
                    }
                }
            """
        }
    
        def "skips tests after a config method failure by default"() {
            expect:
            fails "test"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/TestNGCoverage.groovy

            buildFile << """
                apply plugin: 'java'
                ${RepoScriptBlockUtil.mavenCentralRepository()}
                testing {
                    suites {
                        test {
                            useTestNG('${version}')
                        }
                    }
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesTestFrameworkIntegrationTest.groovy

            testing {
                suites {
                    test {
                        useJUnit()
                    }
                    integTest(JvmTestSuite) {
                        useTestNG()
                    }
                }
            }
    
            tasks.named('check') {
                dependsOn testing.suites.integTest
            }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JvmProjectInitDescriptor.java

                            "Use TestNG framework, also requires calling test.useTestNG() below",
                            BuildInitDependency.of("org.testng:testng", libraryVersionProvider.getVersion("testng")))
                        .taskMethodInvocation(
                            "Use TestNG for unit tests.",
                            "test", "Test", "useTestNG");
                    break;
                case JUNIT_JUPITER:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 19:14:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top