Skip to content

Commit cbcd1da

Browse files
committed
GH-850 - Mention test starter in testing reference documentation chapter.
1 parent 84e9f38 commit cbcd1da

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
@@ -3,7 +3,18 @@
33
:tabsize: 2
44

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

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

0 commit comments

Comments
 (0)