You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Spring Time in Kotlin, Episode 4: Testing with JUnit
1
+
# Spring Time in Kotlin, Episode 5: Integration testing with TestContainers
2
2
3
-
This is a demo project used in [the 4th episode of Spring Time in Kotlin series](https://www.youtube.com/watch?v=0jWo3o7r-W4) at the official [Kotlin YouTube channel](https://www.youtube.com/kotlin)
3
+
This is a demo project used in [the 5th episode of Spring Time in Kotlin series](https://www.youtube.com/watch?v=0jWo3o7r-W4) at the official [Kotlin YouTube channel](https://www.youtube.com/kotlin)
4
4
5
-
Lean how to use JUnit with Kotlin. Implement a few integration tests for a Spring app and add some web layer tests with MockMVC with MockK and SpringMockK.
5
+
In this episode:
6
+
- We start using PostgreSQL database instead of H2
7
+
- Use TestContainers for testing
8
+
- Lean more about Kotlin and Java interoperability
9
+
10
+
##Running the application
11
+
12
+
First, start PostgreSQL database by running this command (assuming you have Docker installed on the machine):
13
+
14
+
docker run -e POSTGRES_PASSWORD=password -e POSTGRES_USER=sa -p 5432:5432 -d postgres
0 commit comments