File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/docs/antora/modules/ROOT/pages Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 2
2
= Integration Testing Application Modules
3
3
4
4
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`:
6
17
7
18
.An application module integration test class
8
19
[tabs]
You can’t perform that action at this time.
0 commit comments