Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for useTestNG (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy

            def result = new JUnitXmlTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted('JUnitTest')
    
            when:
            // Switch test framework
            file('build.gradle').append 'test.useTestNG()\n'
    
            then:
            succeeds('test').assertTasksNotSkipped(':test')
    
            result.assertTestClassesExecuted('TestNGTest') //previous result still present in the dir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/test/JavaModuleBackboxTestExcutionIntegrationTest.groovy

            then:
            succeeds ':test'
        }
    
    
        def "runs TestNG blackbox test as module using the module path"() {
            given:
            buildFile << """
                test { useTestNG() }
                dependencies {
                    testImplementation 'org.testng:testng:7.1.0'
                }
            """
    
            when:
            consumingModuleInfo('exports consumer')
            consumingModuleClass()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top