From e82a4645a6819bac944690007185a979df7665c6 Mon Sep 17 00:00:00 2001 From: Utsav Paul <91927689+Smartmind12@users.noreply.github.com> Date: Sun, 1 Oct 2023 20:41:04 +0530 Subject: [PATCH] Update java-junit.md Documentation updation part of #183 --- _docs/quickstart/java-junit.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/_docs/quickstart/java-junit.md b/_docs/quickstart/java-junit.md index b263d7dc..b19f7732 100644 --- a/_docs/quickstart/java-junit.md +++ b/_docs/quickstart/java-junit.md @@ -26,7 +26,9 @@ To send the requests, we will use the embedded HTTP client available in Java 11+ If you want to add a Java 1.8 test, you will need to add an external HTTP Client implementation like [Apache HttpClient](https://hc.apache.org/httpcomponents-client-5.2.x/#). -### Maven +{% codetabs %} + +{% codetabs Maven %} ```xml @@ -43,13 +45,19 @@ like [Apache HttpClient](https://hc.apache.org/httpcomponents-client-5.2.x/#). ``` -### Gradle +{% endcodetab %} + +{% codetabs Gradle %} ```groovy testImplementation "org.wiremock:wiremock:{{ site.wiremock_version }}" testImplementation "org.assertj:assertj-core:3.24.2" ``` +{% endcodetab %} + +{% endcodetabs %} + ## Add the WireMock rule WireMock ships with some JUnit rules to manage the server's lifecycle