/testcontainers-example

An example of integration testing application with the postgres testcontainers

Primary LanguageJava

codebeat badge

Testcontainers example

An example of integration testing application with the postgres testcontainers:

  • Simple Spring Boot REST-application
  • Unit tests (JUnit 5)
  • Integration tests (with Docker, testcontainers). Using different configurations for Jpa-layer tests and API-layer tests.
  • Database-rider for populate test database (+DBUnit)

See test package