Source Code: https://github.com/axxdeveloper/study-practice/tree/testcontainer

在一個 sharing session 分享如何使用 Testcontainer 輔助 SpringBoot application 開發測試 Kafka & PostgresSQL 相關的邏輯.

用 TestContainer 沒甚麼問題, 主要是多個 test class 開關 Kafka & Postgres 之後要重新讓 SpringBoot 連線比較麻煩, 這時候用了 DirtiesContext

 


接下來看什麼

上一篇 / 下一篇
上一篇:用 protobuf Any 來 parse byte array 下一篇:SpringBoot + Flyway + Kafka + PostgreSQL + Testcontainers
延伸閱讀
訂閱 RSS: 總經 · 技術