You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1016,7 +1016,7 @@ The above configuration allows Neo4j-related beans in the application to communi
1016
1016
==== Using Testcontainers at Development Time
1017
1017
As well as using Testcontainers for integration testing, it's also possible to use them at development time.
1018
1018
This approach allows developers to quickly start containers for the services that the application depends on, removing the need to manually provision things like database servers.
1019
-
Using Testcontaners in this way provides functionality similar to Docker Compose, except that your container configuration is in Java rather than YAML.
1019
+
Using Testcontainers in this way provides functionality similar to Docker Compose, except that your container configuration is in Java rather than YAML.
1020
1020
1021
1021
To use Testcontainers at development time you need to launch your application using your "`test`" classpath rather than "`main`".
1022
1022
This will allow you to access all declared test dependencies and give you a natural place to write your test configuration.
0 commit comments