From 3e9a1cc1f8e577f66d00bf6b6a3fb55dd6376ed3 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 29 Sep 2023 11:50:05 +0100 Subject: [PATCH] Add Awaitility to spring-boot-starter-test Closes gh-37195 --- .../spring-boot-docs/src/docs/asciidoc/features/testing.adoc | 1 + .../spring-boot-starters/spring-boot-starter-test/build.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc index d440e4cc5a..4c473a929e 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc @@ -41,6 +41,7 @@ The `spring-boot-starter-test` "`Starter`" (in the `test` `scope`) contains the * https://site.mockito.org/[Mockito]: A Java mocking framework. * https://github.com/skyscreamer/JSONassert[JSONassert]: An assertion library for JSON. * https://github.com/jayway/JsonPath[JsonPath]: XPath for JSON. +* https://https://github.com/awaitility/awaitility[Awaitility]: A library for testing asynchronous systems. We generally find these common libraries to be useful when writing tests. If these libraries do not suit your needs, you can add additional test dependencies of your own. diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-test/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-test/build.gradle index f5a2cc0913..e98d712817 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-test/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-test/build.gradle @@ -12,6 +12,7 @@ dependencies { api("jakarta.xml.bind:jakarta.xml.bind-api") api("net.minidev:json-smart") api("org.assertj:assertj-core") + api("org.awaitility:awaitility") api("org.hamcrest:hamcrest") api("org.junit.jupiter:junit-jupiter") api("org.mockito:mockito-core")