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 22= Integration Testing Application Modules
33
44Spring 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]
You can’t perform that action at this time.
0 commit comments