Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for useTestNG (0.12 sec)

  1. platforms/documentation/docs/src/snippets/testing/test-suite-configure-default-suite/groovy/build.gradle

    }
    
    version = '1.0.2'
    group = 'org.gradle.sample'
    
    repositories {
        mavenCentral()
    }
    
    // tag::configure-default-suite[]
    testing { // <1>
        suites {
            test {
                useTestNG() // <1>
    
                targets {
                    all {
                        testTask.configure { // <2>
                            // set a system property for the test JVM(s)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/jvm/JvmTestSuite.java

         * </p>
         */
        void useTestNG();
    
        /**
         * Use the <a href="https://testng.org/doc/">TestNG</a> testing framework with a specific version.
         *
         * @param version version of TestNG to use
         */
        void useTestNG(String version);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.jvm.JvmTestSuite.xml

                </tr>
                <tr>
                    <td>useJUnitJupiter</td>
                </tr>
                <tr>
                    <td>useSpock</td>
                </tr>
                <tr>
                    <td>useTestNG</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/ConsoleTestNGTestWorkerFunctionalTest.groovy

        @Override
        String testAnnotationClass() {
            'org.testng.annotations.Test'
        }
    
        @Override
        String testFrameworkConfiguration() {
            'testing.suites.test.useTestNG()'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 964 bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java

        }
    
        /**
         * Specifies that TestNG should be used to discover and execute the tests.
         * <p>
         *
         * @see #useTestNG(org.gradle.api.Action) Configure TestNG specific options.
         */
        public void useTestNG() {
            useTestFramework(new TestNGTestFramework(this, (DefaultTestFilter) getFilter(), getObjectFactory()));
    
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/testng/TestNGFailurePolicyIntegrationTest/shared/build.gradle

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    apply plugin: "java"
    
    repositories {
        mavenCentral()
    }
    
    test {
        useTestNG {
            useDefaultListeners = true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 742 bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForTestNgTests/build.gradle

     */
    
    plugins {
        id("java")
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.8.7'
    }
    
    test {
        ignoreFailures = true
        useTestNG {
            suites "suite.xml"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 833 bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGClassIntegrationTest.groovy

        def setup() {
            executer.noExtraLogging()
            TestNGCoverage.enableTestNG(buildFile, version)
    
            buildFile << """
    
                test {
                    useTestNG()
                    addTestListener(new TestListener() {
    
                        void beforeSuite(TestDescriptor d) {
                            printEventInformation('$STARTED', d)
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. 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)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGGroupByInstancesNotSupportedIntegrationTest.groovy

            given:
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies { testImplementation 'org.testng:testng:6.0.1' }
                test { useTestNG { groupByInstances true } }
            """
    
            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: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top