- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for useTestNG (0.15 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGSuiteIntegrationTest.groovy
* https://discuss.gradle.org/t/calling-suitexmlbuilder-changes-invocation-context-in-usetestng-block-2-11-nightly/13227 */ def "can reference suiteXmlBuilder"() { given: buildFile << ''' apply plugin: 'java' test { useTestNG { println "Property from task: $name"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmTestSuite.java
}); } @Override public void useTestNG() { useTestNG(Actions.doNothing()); } @Override public void useTestNG(String version) { useTestNG(getProviderFactory().provider(() -> version)); } @Override public void useTestNG(Provider<String> version) { useTestNG(parameters -> parameters.getVersion().set(version)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 22:19:12 UTC 2024 - 14K bytes - Viewed (0) -
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) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/TestNGOptionsIntegrationTest.groovy
def "options for test framework are respected for TestNG in built-in test suite"() { buildFile << """ testing { suites { test { useTestNG() targets.all { testTask.configure { options { excludeGroups "exclude" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.7K bytes - Viewed (0) -
testing/performance/src/templates/with-verbose-testng/build.gradle
${original} dependencies { testImplementation 'org.testng:testng:6.4' } test { useTestNG() maxParallelForks = 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 128 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/testng-java-passing/groovy/build.gradle
plugins { id 'java' } repositories { mavenCentral() } dependencies { testImplementation 'org.testng:testng:6.3.1' } test { useTestNG(){ useDefaultListeners = true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 195 bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/testng/TestNGJdkNavigationIntegrationTest/shouldNotNavigateToJdkClasses/build.gradle
apply plugin: 'java' repositories { mavenCentral() } dependencies { testImplementation 'org.testng:testng:6.3.1' testImplementation 'org.apache.felix:org.osgi.foundation:1.2.0' } test { useTestNG()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 219 bytes - Viewed (0) -
testing/performance/src/templates/with-testng/build.gradle
${original} dependencies { testImplementation 'org.testng:testng:6.4' } test { useTestNG()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 103 bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/KotlinDslFileContentGenerator.groovy
options.forkOptions.memoryInitialSize = compilerMemory options.forkOptions.memoryMaximumSize = compilerMemory } tasks.withType<Test> { ${config.useTestNG ? 'useTestNG()' : ''} minHeapSize = testRunnerMemory maxHeapSize = testRunnerMemory maxParallelForks = ${config.maxParallelForks} setForkEvery(testForkEvery.toLong())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGProducesOldReportsIntegrationTest.groovy
buildFile << """ apply plugin: 'java' ${mavenCentralRepository()} dependencies { testImplementation 'org.testng:testng:6.3.1' } test { reports.html.required = false useTestNG() } """ when: executer.withTasks('test').runWithFailure().assertTestsFailed() then: !new TestNGExecutionResult(file(".")).hasTestNGXmlResults()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.6K bytes - Viewed (0)