From cbcd1dac280d2021d0ed4cd80a4d89902dab8418 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Mon, 14 Oct 2024 17:32:09 +0200 Subject: [PATCH] GH-850 - Mention test starter in testing reference documentation chapter. --- src/docs/antora/modules/ROOT/pages/testing.adoc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/docs/antora/modules/ROOT/pages/testing.adoc b/src/docs/antora/modules/ROOT/pages/testing.adoc index ae44432e..214c45e6 100644 --- a/src/docs/antora/modules/ROOT/pages/testing.adoc +++ b/src/docs/antora/modules/ROOT/pages/testing.adoc @@ -3,7 +3,18 @@ :tabsize: 2 Spring Modulith allows to run integration tests bootstrapping individual application modules in isolation or combination with others. -To achieve this, place a JUnit test class in an application module package or any sub-package of that and annotate it with `@ApplicationModuleTest`: +To achieve this, add the Spring Modulith test starter to your project like this + +[source, xml] +---- + + org.springframework.modulith + spring-modulith-starter-test + test + +---- + +and place a JUnit test class in an application module package or any sub-package of that and annotate it with `@ApplicationModuleTest`: .An application module integration test class [tabs]