Skip to content

Commit

Permalink
GH-743 - Correct spelling in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasdo authored and odrotbohm committed Aug 23, 2024
1 parent c23de32 commit 597a483
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/docs/antora/modules/ROOT/pages/documentation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Rel_D(Modulith.Application.order, Modulith.Application.catalog, "depends on", $t
SHOW_LEGEND()
....

The second call will create additional diagrams that only include the individual module and the ones they directly depend on on the canvas.
The second call will create additional diagrams that only include the individual module and the ones they directly depend on the canvas.

.A subset of application modules and their relationships starting from the order module rendered as C4 component diagram
[plantuml, c4-individual-modules, svg]
Expand Down
2 changes: 1 addition & 1 deletion src/docs/antora/modules/ROOT/pages/fundamentals.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ The annotation exposes the following attributes to customize:
|The human readable name of the application to be used in generated xref:documentation.adoc#documentation[documentation].

|`sharedModules`
|Declares the application modules with the given names as shared modules, which means that they will be always included in xref:testing.adoc#testing[application module integration tests].
|Declares the application modules with the given names as shared modules, which means that they will always be included in xref:testing.adoc#testing[application module integration tests].

|`additionalPackages`
|Instructs Spring Modulith to treat the configured packages as additional root application packages. In other words, application module detection will be triggered for those as well.
Expand Down
6 changes: 3 additions & 3 deletions src/docs/antora/modules/ROOT/pages/testing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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`:

.A application module integration test class
.An application module integration test class
[tabs]
======
Java::
Expand Down Expand Up @@ -36,7 +36,7 @@ class OrderIntegrationTests {
This will run your integration test similar to what `@SpringBootTest` would have achieved but with the bootstrap actually limited to the application module the test resides in.
If you configure the log level for `org.springframework.modulith` to `DEBUG`, you will see detailed information about how the test execution customizes the Spring Boot bootstrap:

.The log output of a application module integration test bootstrap
.The log output of an application module integration test bootstrap
[source, text, subs="macros"]
----
. ____ _ __ _ _
Expand All @@ -62,7 +62,7 @@ If you configure the log level for `org.springframework.modulith` to `DEBUG`, yo
----

Note, how the output contains the detailed information about the module included in the test run.
It creates the application module module, finds the module to be run and limits the application of auto-configuration, component and entity scanning to the corresponding packages.
It creates the application module, finds the module to be run and limits the application of auto-configuration, component and entity scanning to the corresponding packages.

[[bootstrap-modes]]
== Bootstrap Modes
Expand Down

0 comments on commit 597a483

Please sign in to comment.