Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for useTestNG (0.15 sec)

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

                dependencies {
                    implementation "org.codehaus.groovy:groovy:2.4.10"
                }
    
                testing {
                    suites {
                        test {
                            useTestNG('6.3.1')
    
                            targets {
                                all {
                                    testTask.configure {
                                        testLogging {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.9.4'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            groupByInstances = true
        }
    }
    // end::test-config[]
    
    test {
        testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 291 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.9.4'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            preserveOrder true
        }
    }
    // end::test-config[]
    
    test {
        testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 286 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation("org.testng:testng:6.9.4")
    }
    
    // tag::test-config[]
    tasks.test {
        useTestNG {
            preserveOrder = true
        }
    }
    // end::test-config[]
    
    tasks.test {
        testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 296 bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/GroovyDslFileContentGenerator.groovy

                groovyOptions.forkOptions.jvmArgs.addAll(javaCompileJvmArgs)
            }
    
            tasks.withType(Test).configureEach {
                ${config.useTestNG ? 'useTestNG()' : ''}
                minHeapSize = testRunnerMemory
                maxHeapSize = testRunnerMemory
                maxParallelForks = ${config.maxParallelForks}
                forkEvery = testForkEvery
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/snippets/testing/testng-groups/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation("org.testng:testng:6.3.1")
    }
    
    // tag::test-config[]
    tasks.named<Test>("test") {
        useTestNG {
            val options = this as TestNGOptions
            options.excludeGroups("integrationTests")
            options.includeGroups("unitTests")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 360 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/testng-groups/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.3.1'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            excludeGroups 'integrationTests'
            includeGroups 'unitTests'
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 281 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation("org.testng:testng:6.9.4")
    }
    
    // tag::test-config[]
    tasks.test {
        useTestNG {
            groupByInstances = true
        }
    }
    // end::test-config[]
    
    tasks.test {
        testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 299 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/testng-suitexmlbuilder/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.3.1'
    }
    
    test {
    	useTestNG() {
            suiteXmlBuilder().suite(name: 'testing-testng') {
                test (name : 'testing-testng', annotations : 'JDK', verbose:'1') {
                    classes([:]) {
                        'class' (name: 'org.gradle.testng.UserImplTest') {
                            methods([:]) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 590 bytes
    - Viewed (0)
Back to top