mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Reinstate testAndDevelopmentOnly in Testcontainers documentation
Closes gh-38571
This commit is contained in:
parent
8c7e8778a6
commit
34018b1982
@ -89,5 +89,5 @@ This is especially useful for Testcontainer `Container` beans, as they keep thei
|
||||
|
||||
include::code:MyContainersConfiguration[]
|
||||
|
||||
WARNING: If you're using Gradle and want to use this feature, you need to change the configuration of the `spring-boot-devtools` dependency from `developmentOnly` to `testImplementation`.
|
||||
WARNING: If you're using Gradle and want to use this feature, you need to change the configuration of the `spring-boot-devtools` dependency from `developmentOnly` to `testAndDevelopmentOnly`.
|
||||
With the default scope of `developmentOnly`, the `bootTestRun` task will not pick up changes in your code, as the devtools are not active.
|
||||
|
Loading…
Reference in New Issue
Block a user