- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 85 for JvmTestSuite (0.14 sec)
-
platforms/documentation/docs/src/snippets/testing/test-suite-multi-configure-each-matching/kotlin/build.gradle.kts
// tag::multi-configure[] testing { suites { withType(JvmTestSuite::class).matching { it.name in listOf("test", "integrationTest") }.configureEach { // <1> useJUnitJupiter() dependencies { implementation("org.mockito:mockito-junit-jupiter:4.6.1") } } val integrationTest by registering(JvmTestSuite::class) val functionalTest by registering(JvmTestSuite::class) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-plugin/kotlin/build.gradle.kts
repositories { mavenCentral() } // tag::configure-testing-extension[] testing { suites { // <1> val test by getting(JvmTestSuite::class) { // <2> useJUnitJupiter() // <3> } register<JvmTestSuite>("integrationTest") { // <4> dependencies { implementation(project()) // <5> } targets { // <6>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy
buildFile << """ plugins { id 'java' } testing { suites { integrationTest(JvmTestSuite) { testType = TestSuiteType.INTEGRATION_TEST dependencies { implementation project() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-configure-source-dir/kotlin/build.gradle.kts
val integrationTest by registering(JvmTestSuite::class) { // <1> sources { // <2> java { // <3> setSrcDirs(listOf("src/it/java")) // <4> } } } } } // end::configure-source-dir[] // tag::configure-test-task[] testing { suites { val integrationTest by getting(JvmTestSuite::class) { targets {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-additional-test-types/kotlin/buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts
} version = "1.0.2" group = "org.gradle.sample" repositories { mavenCentral() } testing { suites { val test by getting(JvmTestSuite::class) { useJUnitJupiter("5.7.1") } val integrationTest by registering(JvmTestSuite::class) { dependencies { implementation(project()) } targets { all {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 661 bytes - Viewed (0) -
platforms/software/build-init/src/testFixtures/groovy/org/gradle/buildinit/plugins/fixtures/ScriptDslFixture.groovy
break; default: assert getBuildFile().text.contains("test {") } } else { switch (scriptDsl) { case KOTLIN: assert getBuildFile().text.contains("val ${expectedTestSuite} by registering(JvmTestSuite::class)") break;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 00:45:16 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy
def "can toggle framework multiple times on custom test suite prior to setting options"() { given: buildFile << """ testing { suites { integTest(JvmTestSuite) { useJUnitJupiter() useJUnit() useJUnitJupiter() targets.all { testTask.configure {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-multi-configure-each/groovy/build.gradle
dependencies { // <2> implementation('org.mockito:mockito-junit-jupiter:4.6.1') } } // <3> integrationTest(JvmTestSuite) functionalTest(JvmTestSuite) { dependencies { // <4> implementation('org.apache.commons:commons-lang3:3.11') } } } } // end::multi-configure[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/main/java/org/gradle/jvm/component/internal/DefaultJvmSoftwareComponent.java
import org.gradle.api.model.ObjectFactory; import org.gradle.api.plugins.BasePlugin; import org.gradle.api.plugins.internal.JavaConfigurationVariantMapping; import org.gradle.api.plugins.jvm.JvmTestSuite; import org.gradle.api.plugins.jvm.internal.JvmFeatureInternal; import org.gradle.api.publish.internal.component.DefaultAdhocSoftwareComponent; import javax.inject.Inject; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 17 21:18:02 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy
testing { suites { val test by getting(JvmTestSuite::class) { dependencies { implementation("org.apache.commons:commons-lang3:3.11") } } val integTest by registering(JvmTestSuite::class) { useJUnit() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 11 16:25:08 UTC 2024 - 45.8K bytes - Viewed (0)