ahaldeman / spring-testcontainers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Testcontainers

This project illustrates how to utilize Testcontainers in a Spring Boot project and what some potential use cases may look like.

Getting Started

Prerequisites

You need to have the following installed:

  • JDK 11 or 17 (intermediate versions may work but are not guaranteed)
  • Docker (the Docker daemon must be running for tests using Testcontainers)

How to Run

Tests

$ ./gradlew test

Run app locally in Docker:

$ ./buildAndRun.sh

About

License:MIT License


Languages

Language:Java 99.3%Language:Dockerfile 0.4%Language:Shell 0.3%