Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testRuntimeOnly (0.22 sec)

  1. build.gradle.kts

      val platform = System.getProperty("okhttp.platform", "jdk9")
      val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
      val testRuntimeOnly: Configuration by configurations.getting
      dependencies {
        testRuntimeOnly(rootProject.libs.junit.jupiter.engine)
        testRuntimeOnly(rootProject.libs.junit.vintage.engine)
      }
    
      tasks.withType<Test> {
        useJUnitPlatform()
        jvmArgs(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. mockwebserver-junit5/build.gradle.kts

      }
    }
    
    dependencies {
      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 {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 833 bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            testImplementation(libs.junit5Vintage)
            testImplementation(libs.spockJUnit4)
            testImplementation(libs.gradleEnterpriseTestAnnotation)
            testRuntimeOnly(libs.bytebuddy)
            testRuntimeOnly(libs.objenesis)
    
            // use a separate configuration for the platform dependency that does not get published as part of 'apiElements' or 'runtimeElements'
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  4. 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 {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 470 bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/build.gradle.kts

        implementation(project(":compiler:backend.jvm"))
        implementation(project(":compiler:backend.jvm.entrypoint"))
    
        testApi(platform(libs.junit.bom))
        testImplementation(libs.junit.jupiter.api)
        testRuntimeOnly(libs.junit.jupiter.engine)
        testImplementation(project(":analysis:analysis-api-providers"))
        testImplementation(project(":analysis:analysis-api-standalone:analysis-api-standalone-base"))
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. mockwebserver/build.gradle.kts

        attributes("Automatic-Module-Name" to "mockwebserver3")
      }
    }
    
    dependencies {
      api(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 {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 743 bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
            dependencies {
                "${prefix}TestRuntimeOnly"(project.the<ExternalModulesExtension>().junit5Vintage)
                "${prefix}TestImplementation"(project(":internal-integ-testing"))
                "${prefix}TestFullDistributionRuntimeClasspath"(project(":distributions-full"))
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. 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 {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/build.gradle.kts

        testApi(projectTests(":analysis:analysis-test-framework"))
    
        testImplementation(toolsJar())
        testApi(platform(libs.junit.bom))
        testImplementation(libs.junit.jupiter.api)
        testRuntimeOnly(libs.junit.jupiter.engine)
    }
    
    sourceSets {
        "main" { projectDefault() }
        "test" {
            projectDefault()
            generatedTestDir()
        }
    }
    
    optInToUnsafeDuringIrConstructionAPI()
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 05 16:42:25 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top