Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How different is this project w.r.t to https://github.com/testcontainers/testcontainers-java/tree/main/examples/spring-boot #1224

Open
nagkumar opened this issue Apr 23, 2023 · 1 comment

Comments

@nagkumar
Copy link

nagkumar commented Apr 23, 2023

We are in the process of deciding for springboot we need to use https://github.com/PlaytikaOSS
/testcontainers-spring-boot

or

https://github.com/testcontainers/testcontainers-java/tree/main/examples/spring-boot

Any good comparison documentation, even if this project depends on https://github.com/testcontainers/testcontainers-java i.e. when to use this or that..

From the code, I see https://github.com/testcontainers/testcontainers-java is more simple to follow, however, I may be missing the bigger picture of integration testing and hence unable to know when to use which framework.

Any insights would be of good help.

@eddumelendez
Copy link

Testcontainers spring boot example is how Spring Boot has been supporting Testcontainers so far through @DynamicPropertySource. PlaytikaOSS/testcontainers-spring-boot has been symplifying that approach by automatically detecting and auto-configuring what I just described. Starting with Spring Boot 3.1 there is a new feature ServiceConnections which support Testcontainers OOTB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants