File tree 1 file changed +4
-4
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7476,10 +7476,10 @@ full end-to-end tests with an actual server>>.
7476
7476
7477
7477
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-jpa-test]]
7478
7478
==== Auto-configured Data JPA Tests
7479
- You can use the `@DataJpaTest` annotation to test JPA applications. By default, it
7480
- configures an in-memory embedded database, scans for `@Entity` classes, and configures
7481
- Spring Data JPA repositories . Regular `@Component` beans are not loaded into the
7482
- `ApplicationContext`.
7479
+ You can use the `@DataJpaTest` annotation to test JPA applications. By default, it scans
7480
+ for `@Entity` classes and configures Spring Data JPA repositories. If an embedded database
7481
+ is available on the classpath, it configures one as well . Regular `@Component` beans are
7482
+ not loaded into the `ApplicationContext`.
7483
7483
7484
7484
TIP: A list of the auto-configuration settings that are enabled by `@DataJpaTest` can be
7485
7485
<<appendix.adoc#test-auto-configuration,found in the appendix>>.
You can’t perform that action at this time.
0 commit comments