Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 41 for testImplementation (0.07 seconds)

  1. 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:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 665 bytes
    - Click Count (0)
  2. okhttp-java-net-cookiejar/README.md

    OkHttp java.net.CookieHandler
    =============================
    
    This module integrates OkHttp with `CookieHandler` from `java.net`.
    This used to be part of `okhttp-urlconnection`
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.3.0")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 284 bytes
    - Click Count (0)
  3. okhttp-urlconnection/README.md

    ====================
    
    This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`.
    
    This module is obsolete; prefer `okhttp-java-net-cookiejar`.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.3.0")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 292 bytes
    - Click Count (0)
  4. mockwebserver-junit4/README.md

    MockWebServer for JUnit 4
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 4.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 706 bytes
    - Click Count (0)
  5. build-logic-commons/basics/build.gradle.kts

        }
        implementation(kotlin("gradle-plugin") as String) {
            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()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 996 bytes
    - Click Count (0)
  6. okcurl/build.gradle.kts

        }
      }
    }
    
    dependencies {
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.squareup.okio)
      implementation(libs.clikt)
    
      testApi(libs.assertk)
      testImplementation(kotlin("test"))
    }
    
    configure<AnimalSnifferExtension> {
      isIgnoreFailures = true
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "okhttp3.curl")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 22 20:31:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        id("gradlebuild.test-retry")
        id("gradlebuild.private-javadoc")
    }
    
    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 {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 11 23:24:30 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                    apply(plugin = "java-library")
                    repositories {
                        mavenCentral()
                    }
    
                    dependencies {
                        "testImplementation"("org.junit.jupiter:junit-jupiter-engine:5.8.1")
                        "testRuntimeOnly"("org.junit.platform:junit-platform-launcher")
                    }
    
                    tasks.named<Test>("test").configure {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 18 10:36:40 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. mockwebserver/README.md

            MockResponse.Builder()
              .code(404)
              .build()
          }
        }
      }
    }
    
    server.dispatcher = dispatcher
    ```
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:mockwebserver3:5.3.0")
    ```
    
    ### License
    
        Licensed under the Apache License, Version 2.0 (the "License");
        you may not use this file except in compliance with the License.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. README.md

    OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
    
    The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/5.3.0/jar).
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:mockwebserver3:5.3.0")
    ```
    
    MockWebServer is used for firstly for internal testing, and for basic testing of apps using OkHttp client.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top