{"repo":"flowinquiry/spring-testcontainers","free":true,"listed":false,"github":"https://github.com/flowinquiry/spring-testcontainers","clone":"git clone https://github.com/flowinquiry/spring-testcontainers.git","description":"Designed to make writing integration tests with Testcontainers in Java effortless and extensible","language":"Java","stars":10,"topics":["java","junit-jupiter","junit-jupiter-extension","mysql","postgresql","spring","spring-boot","testcontainers","testcontainers-junit-jupiter","integration-testing"],"license":"MIT","category":"databases-storage","readme_excerpt":"Spring-TestContainers Spring-TestContainers is a Java library that makes it easier to write integration tests with Testcontainers, especially when you're using Spring or Spring Boot. It handles the setup and lifecycle of containers for you, so you can focus on testing—not boilerplate. We originally built this for FlowInquiry to make our own testing smoother. It worked so well, we decided to share it as a standalone library so other teams can take advantage of it too. Why Spring-TestContainers? Setting up Testcontainers in Spring-based projects often involves boilerplate code and manual configuration. Spring-TestContainers eliminates that overhead with a clean, annotation-driven approach that: Reduces setup to a single annotation (@EnablePostgreSQL, @EnableMySQL, etc.) Automatically manages container lifecycle Auto-configures Spring environment with database connection details Supported Containers Spring-TestContainers provides out-of-the-box support for the following containers. You can enable each one via a dedicated annotation in your test classes: Spring-TestContainers provides out-of-the-box support for the following containers. You can enable each one via a dedicated annotation in your test classes: Container Annotation Example Usage Notes ------------ ---------------------------- -------------------------------------------- ------------------------------ PostgreSQL @EnablePostgresContainer @EnablePostgresContainer(version = \"15\") Uses PostgreSQLContainer MySQL @EnableMy","default_branch":null,"files":null,"tree":[],"storefront":"/r/flowinquiry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flowinquiry/spring-testcontainers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}