Skip to content

kotlin-hands-on/spring-time-in-kotlin-episode5

Repository files navigation

Spring Time in Kotlin, Episode 5: Integration testing with TestContainers

This is a demo project used in the 5th episode of Spring Time in Kotlin series at the official Kotlin YouTube channel

In this episode:

  • We start using PostgreSQL database instead of H2
  • Use TestContainers for testing
  • Lean more about Kotlin and Java interoperability

##Running the application

First, start PostgreSQL database by running this command (assuming you have Docker installed on the machine):

docker run -e POSTGRES_PASSWORD=password -e POSTGRES_USER=sa -p 5432:5432 -d postgres

Now you can launch Spring Boot application:

./gradlew bootRun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages