---
title: "Discussion on \"How to test your SQL with Testcontainers and Flyway\" | Hashnode"
description: "Discussion on \"How to test your SQL with Testcontainers and Flyway\". Learn why database integration tests are useful in catching code and how to setup database integration tests using Testcontainers & Flyway in Kotlin"
url: "https://hashnode.com/posts/how-to-test-your-sql-with-testcontainers/629cbac66ba4733eec66f21e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to test your SQL with Testcontainers and Flyway](https://edrickleong.hashnode.dev/how-to-test-your-sql-with-testcontainers?utm_source=hashnode&utm_medium=feed)

Learn why database integration tests are useful in catching code and how to setup database integration tests using Testcontainers & Flyway in Kotlin

Jun 5, 2022 · 7 min read · edrickleong.hashnode.dev  
Updated Dec 21, 2023  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#testing](https://hashnode.com/tag/testing)
-   [#sql](https://hashnode.com/tag/sql)
-   [#testcontainers](https://hashnode.com/tag/testcontainers)

## Written by

[Edrick Leong](https://hashnode.com/@edrick)

@edrick · Perth, Australia

  
[View profile](https://hashnode.com/@edrick)

Software Engineer in Perth

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
