Skip to content

Sample application that shows, how to create Test Container and configure Spring application with container-provided properties.

License

Notifications You must be signed in to change notification settings

pawelpluta/testcontainers-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testcontainers Wrapper Sample

This project contains source codes for Medium article Introduce Any Testcontainer Into Your Spring Application.

Sample application that shows, how to create Testcontainer and configure Spring application with container-provided properties.

Presents, how to manually manage Testcontainer instance and add Spring Boot application properties with values obtained from created container. Presented solution can be generally used with other frameworks, or even with plain Java application. Using Testcontainers GenericContainer instead of KafkaContainer allows for creation of container from any Docker Image.

About

Sample application that shows, how to create Test Container and configure Spring application with container-provided properties.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published