Repository: micronaut-projects/micronaut-test
Pull request #1010 (2024-04-19 21:04:22)

fix(deps): update dependency io.micronaut.test:micronaut-test-bom to v4.3.0
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.micronaut.test:micronaut-test-bom](https://micronaut.io) ([source](https://togithub.com/micronaut-projects/micronaut-test)) | `4.2.1` -> `4.3.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.micronaut.test:micronaut-test-bom/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micronaut.test:micronaut-test-bom/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micronaut.test:micronaut-test-bom/4.2.1/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micronaut.test:micronaut-test-bom/4.2.1/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>micronaut-projects/micronaut-test (io.micronaut.test:micronaut-test-bom)</summary>

### [`v4.3.0`](https://togithub.com/micronaut-projects/micronaut-test/releases/tag/v4.3.0): Micronaut Test 4.3.0

<!-- Release notes generated using configuration in .github/release.yml at 4.3.x -->

#### What's Changed

##### Bug Fixes 🐞

-   fix: TestSqlAnnotationHandler fails if context stopped in test by [@&#8203;timyates](https://togithub.com/timyates) in [https://github.com/micronaut-projects/micronaut-test/pull/951](https://togithub.com/micronaut-projects/micronaut-test/pull/951)
-   fix: add interceptor around parameterized features by [@&#8203;timyates](https://togithub.com/timyates) in [https://github.com/micronaut-projects/micronaut-test/pull/953](https://togithub.com/micronaut-projects/micronaut-test/pull/953)

##### Docs 📖

-   Mention the annotation config when misconfigured by [@&#8203;timyates](https://togithub.com/timyates) in [https://github.com/micronaut-projects/micronaut-test/pull/957](https://togithub.com/micronaut-projects/micronaut-test/pull/957)
-   Update settingUpJUnit5.adoc by [@&#8203;goodnic](https://togithub.com/goodnic) in [https://github.com/micronaut-projects/micronaut-test/pull/970](https://togithub.com/micronaut-projects/micronaut-test/pull/970)

##### Dependency updates 🚀

##### Mock

-   fix(deps): update dependency io.mockk:mockk to v1.13.10 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/963](https://togithub.com/micronaut-projects/micronaut-test/pull/963)

##### Mockito

-   fix(deps): update mockito monorepo to v5.10.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/942](https://togithub.com/micronaut-projects/micronaut-test/pull/942)
-   fix(deps): update mockito monorepo to v5.11.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/966](https://togithub.com/micronaut-projects/micronaut-test/pull/966)

##### JUnit 5

-   fix(deps): update junit5 monorepo to v5.10.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/944](https://togithub.com/micronaut-projects/micronaut-test/pull/944)

##### AssertJ

-   fix(deps): update dependency org.assertj:assertj-core to v3.25.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/934](https://togithub.com/micronaut-projects/micronaut-test/pull/934)

##### KoTest

-   fix(deps): update managed.kotest to v5.8.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/977](https://togithub.com/micronaut-projects/micronaut-test/pull/977)

##### Kotlin

-   fix(deps): update kotlin monorepo to v1.9.23 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/969](https://togithub.com/micronaut-projects/micronaut-test/pull/969)

##### Micronaut Modules

##### Micronaut Core

-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.5 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/941](https://togithub.com/micronaut-projects/micronaut-test/pull/941)
-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.7 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/956](https://togithub.com/micronaut-projects/micronaut-test/pull/956)
-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.10 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/962](https://togithub.com/micronaut-projects/micronaut-test/pull/962)
-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/980](https://togithub.com/micronaut-projects/micronaut-test/pull/980)

##### Micronaut Serialization

-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.8.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/931](https://togithub.com/micronaut-projects/micronaut-test/pull/931)
-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.8.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/976](https://togithub.com/micronaut-projects/micronaut-test/pull/976)
-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.9.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/995](https://togithub.com/micronaut-projects/micronaut-test/pull/995)

##### Micronaut Test resources

-   fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-bom to v2.4.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/965](https://togithub.com/micronaut-projects/micronaut-test/pull/965)

##### Micronaut Platform

-   fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.3.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/932](https://togithub.com/micronaut-projects/micronaut-test/pull/932)
-   fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.3.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/952](https://togithub.com/micronaut-projects/micronaut-test/pull/952)
-   fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.3.5 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/961](https://togithub.com/micronaut-projects/micronaut-test/pull/961)
-   fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.3.7 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/979](https://togithub.com/micronaut-projects/micronaut-test/pull/979)

##### Micronaut sql

-   fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.5.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/929](https://togithub.com/micronaut-projects/micronaut-test/pull/929)
-   fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.5.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/985](https://togithub.com/micronaut-projects/micronaut-test/pull/985)

##### Micronaut hibernate-validator

-   fix(deps): update dependency io.micronaut.beanvalidation:micronaut-hibernate-validator to v4.2.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/925](https://togithub.com/micronaut-projects/micronaut-test/pull/925)
-   fix(deps): update dependency io.micronaut.beanvalidation:micronaut-hibernate-validator to v4.2.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/958](https://togithub.com/micronaut-projects/micronaut-test/pull/958)
-   fix(deps): update dependency io.micronaut.beanvalidation:micronaut-hibernate-validator to v4.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/992](https://togithub.com/micronaut-projects/micronaut-test/pull/992)

##### Micronaut Test

-   fix(deps): update dependency io.micronaut.test:micronaut-test-bom to v4.2.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/928](https://togithub.com/micronaut-projects/micronaut-test/pull/928)
-   fix(deps): update dependency io.micronaut.test:micronaut-test-bom to v4.2.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/955](https://togithub.com/micronaut-projects/micronaut-test/pull/955)

##### Micronaut Spring

-   fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.4.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/949](https://togithub.com/micronaut-projects/micronaut-test/pull/949)
-   fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.5.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/971](https://togithub.com/micronaut-projects/micronaut-test/pull/971)

##### Micronaut R2DBC

-   fix(deps): update dependency io.micronaut.r2dbc:micronaut-r2dbc-bom to v5.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/939](https://togithub.com/micronaut-projects/micronaut-test/pull/939)
-   fix(deps): update dependency io.micronaut.r2dbc:micronaut-r2dbc-bom to v5.4.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/991](https://togithub.com/micronaut-projects/micronaut-test/pull/991)

##### Micronaut Data

-   fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.6.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/930](https://togithub.com/micronaut-projects/micronaut-test/pull/930)

##### Micronaut Reactor

-   fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/989](https://togithub.com/micronaut-projects/micronaut-test/pull/989)

##### CI ⚙️Build 🐘

-   chore(deps): update dependency gradle to v8.7 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/986](https://togithub.com/micronaut-projects/micronaut-test/pull/986)
-   chore(deps): update gradle/gradle-build-action action to v3.2.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/993](https://togithub.com/micronaut-projects/micronaut-test/pull/993)
-   chore(deps): update gradle/gradle-build-action action to v3.1.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/946](https://togithub.com/micronaut-projects/micronaut-test/pull/946)

##### GraalVM

-   chore(deps): update graalvm/setup-graalvm action to v1.1.8 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/940](https://togithub.com/micronaut-projects/micronaut-test/pull/940)

##### Junit Report

##### SLSA

-   chore(deps): update slsa-framework/slsa-github-generator action to v1.10.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/987](https://togithub.com/micronaut-projects/micronaut-test/pull/987)

##### Micronaut Build Plugin

-   chore(deps): update plugin io.micronaut.build.shared.settings to v6.6.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/924](https://togithub.com/micronaut-projects/micronaut-test/pull/924)
-   chore(deps): update plugin io.micronaut.build.shared.settings to v6.6.4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/964](https://togithub.com/micronaut-projects/micronaut-test/pull/964)
-   chore(deps): update plugin io.micronaut.build.shared.settings to v6.7.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/981](https://togithub.com/micronaut-projects/micronaut-test/pull/981)

##### Micronaut Gradle Plugin

-   fix(deps): update dependency io.micronaut.library:io.micronaut.library.gradle.plugin to v4.3.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/945](https://togithub.com/micronaut-projects/micronaut-test/pull/945)
-   fix(deps): update dependency io.micronaut.library:io.micronaut.library.gradle.plugin to v4.3.4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/959](https://togithub.com/micronaut-projects/micronaut-test/pull/959)
-   fix(deps): update dependency io.micronaut.library:io.micronaut.library.gradle.plugin to v4.3.5 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/984](https://togithub.com/micronaut-projects/micronaut-test/pull/984)
-   fix(deps): update dependency io.micronaut.library:io.micronaut.library.gradle.plugin to v4.3.6 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/994](https://togithub.com/micronaut-projects/micronaut-test/pull/994)

##### SVM

-   fix(deps): update dependency org.graalvm.nativeimage:svm to v23.1.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-test/pull/927](https://togithub.com/micronaut-projects/micronaut-test/pull/927)

##### Other Changes 💡

-   Move junit libs to managed block. by [@&#8203;altro3](https://togithub.com/altro3) in [https://github.com/micronaut-projects/micronaut-test/pull/936](https://togithub.com/micronaut-projects/micronaut-test/pull/936)

#### New Contributors

-   [@&#8203;goodnic](https://togithub.com/goodnic) made their first contribution in [https://github.com/micronaut-projects/micronaut-test/pull/970](https://togithub.com/micronaut-projects/micronaut-test/pull/970)

**Full Changelog**: https://github.com/micronaut-projects/micronaut-test/compare/v4.2.1...v4.3.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/micronaut-projects/micronaut-test).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoiNC40LngiLCJsYWJlbHMiOlsidHlwZTogZGVwZW5kZW5jeS11cGdyYWRlIl19-->


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=1010) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=1010&resolved=false&inNewCodePeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/component_measures?id=micronaut-projects_micronaut-test&pullRequest=1010&metric=new_accepted_issues&view=list)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=1010&resolved=false&inNewCodePeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Coverage  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Duplication  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=1010)



Patch:
diff --git a/.github/workflows/central-sync.yml b/.github/workflows/central-sync.yml
index dd1f3514..23b80ba2 100644
--- a/.github/workflows/central-sync.yml
+++ b/.github/workflows/central-sync.yml
@@ -18,7 +18,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           ref: v${{ github.event.inputs.release_version }}
-      - uses: gradle/wrapper-validation-action@v2
+      - uses: gradle/wrapper-validation-action@v3
       - name: Set up JDK
         uses: actions/setup-java@v4
         with:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3a4bd1cb..065ee562 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -17,7 +17,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           token: ${{ secrets.GH_TOKEN }}
-      - uses: gradle/wrapper-validation-action@v2
+      - uses: gradle/wrapper-validation-action@v3
       - name: Set up JDK
         uses: actions/setup-java@v4
         with:
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 9a1a7276..b771f16e 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -16,7 +16,7 @@ managed-spock = "2.3-groovy-4.0"
 kotlin = "1.9.23"
 graal-svm = "23.1.2"
 
-micronaut-test = "4.2.1"
+micronaut-test = "4.3.0"
 micronaut-data = "4.6.2"
 micronaut-hibernate-validator = "4.3.0"
 micronaut-logging = "1.1.2"
@@ -25,7 +25,7 @@ micronaut-serde = "2.9.0"
 micronaut-spring = "5.5.0"
 micronaut-sql = "5.6.0"
 micronaut-reactor = "3.3.0"
-micronaut-test-resources = "2.4.0"
+micronaut-test-resources = "2.5.0"
 
 micronaut-gradle-plugin = "4.3.6"
 


Test patch:
diff --git a/test-rest-assured/src/main/java/io/micronaut/test/rest/assured/RequestSpecificationFactory.java b/test-rest-assured/src/main/java/io/micronaut/test/rest/assured/RequestSpecificationFactory.java
index 5ce4f9fc..1b1e0022 100644
--- a/test-rest-assured/src/main/java/io/micronaut/test/rest/assured/RequestSpecificationFactory.java
+++ b/test-rest-assured/src/main/java/io/micronaut/test/rest/assured/RequestSpecificationFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017-2022 original authors
+ * Copyright 2017-2024 original authors
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,20 +16,23 @@
 package io.micronaut.test.rest.assured;
 
 import io.micronaut.context.annotation.Factory;
+import io.micronaut.context.annotation.Property;
 import io.micronaut.context.annotation.Prototype;
 import io.micronaut.context.annotation.Requires;
 import io.micronaut.runtime.server.EmbeddedServer;
 import io.restassured.RestAssured;
 import io.restassured.specification.RequestSpecification;
 
+import static io.micronaut.test.support.server.TestEmbeddedServer.PROPERTY;
+
 /**
  * Helper class making it easier to create request specifications.
  *
  * @author gkrocher
- * @since 3.4.0 
+ * @since 3.4.0
  */
 @Factory
-@Requires(beans = EmbeddedServer.class) 
+@Requires(beans = EmbeddedServer.class)
 public class RequestSpecificationFactory {
 
     /**
@@ -37,10 +40,20 @@ public class RequestSpecificationFactory {
      * @return A request specification for the current server.
      */
     @Prototype
-    @Requires(beans = EmbeddedServer.class) 
+    @Requires(beans = EmbeddedServer.class, missingProperty = PROPERTY)
     RequestSpecification requestSpecification(EmbeddedServer embeddedServer) {
         return RestAssured.given()
             .port(embeddedServer.getPort());
     }
 
+    /**
+     * @param url The optional URL for an external service
+     * @return A request specification for the external server.
+     */
+    @Prototype
+    @Requires(property = PROPERTY)
+    RequestSpecification requestSpecificationWithURL(@Property(name = PROPERTY) String url) {
+        return RestAssured.given()
+            .baseUri(url);
+    }
 }
diff --git a/test-rest-assured/src/test/java/io/micronaut/test/rest/assured/RestAssuredExternalServerTest.java b/test-rest-assured/src/test/java/io/micronaut/test/rest/assured/RestAssuredExternalServerTest.java
new file mode 100644
index 00000000..9400192e
--- /dev/null
+++ b/test-rest-assured/src/test/java/io/micronaut/test/rest/assured/RestAssuredExternalServerTest.java
@@ -0,0 +1,30 @@
+package io.micronaut.test.rest.assured;
+
+import io.micronaut.context.annotation.Property;
+import io.micronaut.test.extensions.junit5.annotation.MicronautTest;
+import io.restassured.specification.RequestSpecification;
+import org.junit.jupiter.api.Test;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.Matchers.hasSize;
+
+@MicronautTest
+@Property(name = "micronaut.test.server.url", value = "https://jsonplaceholder.typicode.com")
+class RestAssuredExternalServerTest {
+
+    @Test
+    void testSinglePost(RequestSpecification spec) {
+        spec
+            .when().get("/posts/1")
+            .then().statusCode(200)
+            .body("title", is("sunt aut facere repellat provident occaecati excepturi optio reprehenderit"));
+    }
+
+    @Test
+    void testUsers(RequestSpecification spec) {
+        spec
+            .when().get("/users")
+            .then().statusCode(200)
+            .body("id", hasSize(10));
+    }
+}
diff --git a/test-rest-assured/src/test/resources/logback.xml b/test-rest-assured/src/test/resources/logback.xml
new file mode 100644
index 00000000..44b79c40
--- /dev/null
+++ b/test-rest-assured/src/test/resources/logback.xml
@@ -0,0 +1,14 @@
+<configuration>
+
+    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+        <!-- encoders are assigned the type
+             ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
+        <encoder>
+            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
+        </encoder>
+    </appender>
+
+    <root level="info">
+        <appender-ref ref="STDOUT" />
+    </root>
+</configuration>