Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 7,967 for testLang (0.25 sec)

  1. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesTestFrameworkIntegrationTest.groovy

                }
            '''
    
            file('src/integTest/java/it/IntegrationTest.java') << '''
                package it;
    
                import org.testng.annotations.BeforeTest;
                import org.testng.annotations.Test;
    
                import static org.testng.Assert.assertEquals;
    
                public class IntegrationTest {
    
                    protected int value = 0;
    
                    @BeforeTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.testing.base.TestSuiteTarget.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    stNG.html[TestNG API] that is used by Gradle's TestNG integration executes tests in unpredictable order by default.footnote:[The TestNG documentation contains more details about test ordering when working with `testng.xml` files: http://testng.org/doc/documentation-main.html#testng-xml[].] The ability to preserve test execution order was introduced with TestNG version 5.14.5. Setting the `preserveOrder` property to `true` for an older TestNG version will cause the build to fail.
    
    .Preserving...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-suitexmlbuilder/groovy/build.gradle

    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([:]) {
                                include(name: 'testOkFirstName')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 590 bytes
    - Viewed (0)
  5. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

                getTestResultsFileAsXml(dslDir, "org.gradle.testng.Test1"),
                2)
            assertTestsRunCount(
                getTestResultsFileAsXml(dslDir, "org.gradle.testng.Test2"),
                2)
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("testing/testng-groupbyinstances")
        def "can use the groupByInstances option with TestNG tests with #dsl dsl"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing.testng
    
    import org.gradle.api.internal.tasks.testing.filter.DefaultTestFilter
    import org.gradle.api.model.ObjectFactory
    import org.gradle.api.tasks.testing.Test
    import org.gradle.api.tasks.testing.testng.TestNGOptions
    import org.gradle.internal.actor.ActorFactory
    import org.gradle.internal.id.IdGenerator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGPreserveOrderIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testing.testng
    
    import org.gradle.integtests.fixtures.MultiVersionIntegrationSpec
    import org.gradle.integtests.fixtures.TargetCoverage
    import org.gradle.testing.fixture.TestNGCoverage
    
    @TargetCoverage({ TestNGCoverage.SUPPORTS_PRESERVE_ORDER })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGGroupByInstancesIntegrationTest.groovy

                }
            """
    
            file("src/test/java/TestFactory.java") << """
                import org.testng.annotations.AfterClass;
                import org.testng.annotations.BeforeClass;
                import org.testng.annotations.DataProvider;
                import org.testng.annotations.Factory;
                import org.testng.annotations.Test;
    
                public class TestFactory {
    
                    @DataProvider(name = "data")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorData.groovy

     */
    
    package org.gradle.api.internal.tasks.testing.testng
    
    import org.gradle.api.tasks.testing.TestFailure
    import org.testng.ITestContext
    import org.testng.ITestListener
    import org.testng.ITestResult
    import org.testng.annotations.AfterClass
    import org.testng.annotations.AfterMethod
    import org.testng.annotations.BeforeClass
    import org.testng.annotations.BeforeMethod
    import org.testng.annotations.Factory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGSuiteInitialisationIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testing.testng
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.testing.fixture.TestNGCoverage
    import spock.lang.Issue
    
    import static org.gradle.integtests.fixtures.TestExecutionResult.EXECUTION_FAILURE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top