Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for useTestNG (0.24 sec)

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

            given:
            buildScript """
                apply plugin: "java"
                ${mavenCentralRepository()}
                testing {
                    suites {
                        test {
                            useTestNG('${TestNGCoverage.NEWEST}')
                            targets {
                                all {
                                    testTask.configure {
                                        options {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGeneratorConfiguration.groovy

            config.featurePreviews = this.featurePreviews
    
            config.maxWorkers = 4
            config.maxParallelForks = this.subProjects > 0 ? 1 : 4
            config.testForkEvery = 1000
            config.useTestNG = this.useTestNG
            config.fileToChangeByScenario = this.fileToChangeByScenario
            return config
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelBySuitesNotSupportedIntegrationTest.groovy

            given:
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies { testImplementation 'org.testng:testng:5.12.1' }
                test { useTestNG { suiteThreadPoolSize = 5 } }
            """
    
            file("src/test/java/SimpleTest.java") << """
                import org.testng.annotations.Test;
    
                public class SimpleTest {
    
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

            then:
            processor instanceof TestNGTestClassProcessor
            framework.detector
        }
    
        def "can configure TestNG with an Action"() {
            when:
            testTask.useTestNG { TestNGOptions options ->
                options.suiteName = 'Custom Suite'
            }
    
            then:
            testTask.options.suiteName == 'Custom Suite'
        }
    
        TestNGTestFramework createFramework() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaCrossCompilationIntegrationTest.groovy

            given:
            withJavaProjectUsingToolchainsForJavaVersion(version)
            buildFile << """
                testing.suites.test {
                    useTestNG('6.8.8')
                }
            """
    
            file("src/test/java/ThingTest.java") << """
                import org.testng.annotations.Test;
    
                public class ThingTest {
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:59:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

         *
         * Configuring extra listener:
         * <pre class='autoTested'>
         * plugins {
         *     id 'java'
         * }
         *
         * test {
         *     useTestNG() {
         *         // creates emailable HTML file
         *         // this reporter typically ships with TestNG library
         *         listeners &lt;&lt; 'org.testng.reporters.EmailableReporter'
         *     }
         * }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.tasks.testing.Test.useTestNG(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (Test.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top