- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for testRuntimeOnly (0.07 sec)
-
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
"${prefix}TestImplementation"(project) "${prefix}TestImplementation"(project.the<ExternalModulesExtension>().junitJupiter) "${prefix}TestRuntimeOnly"(project.the<ExternalModulesExtension>().junitPlatform) "${prefix}TestRuntimeOnly"(project.the<ExternalModulesExtension>().junit5Vintage) "${prefix}TestImplementation"(project(":internal-integ-testing"))
Registered: 2025-05-28 11:36 - Last Modified: 2025-05-06 08:02 - 12.3K bytes - Viewed (0) -
build.gradle.kts
if (project.name != "okhttp") { val testRuntimeOnly: Configuration by configurations.getting dependencies { // https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle-bom testRuntimeOnly(rootProject.libs.junit.jupiter.engine) testRuntimeOnly(rootProject.libs.junit.vintage.engine) testRuntimeOnly(rootProject.libs.junit.platform.launcher) } }
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-29 16:55 - 11.9K bytes - Viewed (0) -
mockwebserver-junit5/README.md
MockWebServer for JUnit 5 ========================= This module integrates mockwebserver3.MockWebServer with JUnit 5. To use, first add this library as a test dependency: ``` testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0") ``` Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test method parameter. It will be shut down automatically after the test runs. ``` class MyTest {
Registered: 2025-05-30 11:42 - Last Modified: 2024-01-14 10:20 - 1.3K bytes - Viewed (0) -
samples/compare/build.gradle.kts
plugins { kotlin("jvm") } dependencies { testImplementation(projects.okhttp) testImplementation(projects.mockwebserver3) testRuntimeOnly(projects.mockwebserver3Junit5) testImplementation(projects.okhttpTls) testImplementation(projects.okhttpTestingSupport) testImplementation(libs.httpClient5) testImplementation(libs.jettyClient) testImplementation(libs.junit) testImplementation(libs.assertk) } tasks.compileJava {
Registered: 2025-05-30 11:42 - Last Modified: 2024-01-04 05:32 - 470 bytes - Viewed (0) -
build-logic-commons/basics/build.gradle.kts
because("For manually defined KotlinSourceSet accessor - sourceSets.main.get().kotlin") } testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.test { useJUnitPlatform()
Registered: 2025-05-28 11:36 - Last Modified: 2025-04-28 14:56 - 996 bytes - Viewed (0) -
mockwebserver/build.gradle.kts
} } dependencies { "friendsApi"(projects.okhttp) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.okhttpTls) testRuntimeOnly(projects.mockwebserver3Junit5) testImplementation(libs.junit) testImplementation(libs.kotlin.test.common) testImplementation(libs.kotlin.test.junit) testImplementation(libs.assertk) } mavenPublishing {
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-10 11:15 - 752 bytes - Viewed (0) -
mockwebserver-junit5/build.gradle.kts
} } dependencies { api(projects.okhttp) api(projects.mockwebserver3) api(libs.junit.jupiter.api) compileOnly(libs.animalsniffer.annotations) testRuntimeOnly(libs.junit.jupiter.engine) testImplementation(libs.kotlin.junit5) testImplementation(projects.okhttpTestingSupport) testImplementation(libs.assertk) } mavenPublishing {
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-10 11:15 - 856 bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
implementation(localGroovy()) testImplementation("org.spockframework:spock-core") testImplementation("net.bytebuddy:byte-buddy") testImplementation("org.objenesis:objenesis") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.withType<GroovyCompile>().configureEach { groovyOptions.apply { encoding = "utf-8" forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError")
Registered: 2025-05-28 11:36 - Last Modified: 2025-04-11 20:15 - 2.2K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
} dependencies { api(platform("gradlebuild:build-platform")) implementation("gradlebuild:gradle-plugin") testImplementation("org.junit.vintage:junit-vintage-engine") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.withType<KotlinCompile>().configureEach { compilerOptions { allWarningsAsErrors = true } } detekt {
Registered: 2025-05-28 11:36 - Last Modified: 2025-04-11 20:05 - 1.7K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
testImplementation(libs.junit5Vintage) testImplementation(libs.spockJUnit4) testImplementation(libs.develocityTestAnnotation) testRuntimeOnly(libs.bytebuddy) testRuntimeOnly(libs.objenesis) testRuntimeOnly(libs.junitPlatform) // use a separate configuration for the platform dependency that does not get published as part of 'apiElements' or 'runtimeElements'
Registered: 2025-05-28 11:36 - Last Modified: 2025-05-19 18:16 - 22.9K bytes - Viewed (0)