Skip to content

Commit 9987003

Browse files
committed
GH-875 - Mention test starter in testing reference documentation chapter.
1 parent 61a7515 commit 9987003

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/docs/antora/modules/ROOT/pages/testing.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
22
= Integration Testing Application Modules
33

44
Spring Modulith allows to run integration tests bootstrapping individual application modules in isolation or combination with others.
5-
To achieve this, place a JUnit test class in an application module package or any sub-package of that and annotate it with `@ApplicationModuleTest`:
5+
To achieve this, add the Spring Modulith test starter to your project like this
6+
7+
[source, xml]
8+
----
9+
<dependency>
10+
<groupId>org.springframework.modulith</groupId>
11+
<artifactId>spring-modulith-starter-test</artifactId>
12+
<scope>test</scope>
13+
</dependency>
14+
----
15+
16+
and place a JUnit test class in an application module package or any sub-package of that and annotate it with `@ApplicationModuleTest`:
617

718
.An application module integration test class
819
[tabs]

0 commit comments

Comments
 (0)