testcontainers / testcontainers-dotnet

A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
https://dotnet.testcontainers.org
MIT License
3.73k stars 262 forks source link

docs: Add Flyway example #1002

Closed HofmeisterAn closed 11 months ago

HofmeisterAn commented 11 months ago

What does this PR do?

Adds an example that demonstrates how to use Testcontainers in conjunction with Flyway to run database migrations before executing tests.

Why is it important?

I frequently receive questions about how to execute database migrations or how to configure Flyway in conjunction with Testcontainers. This pull request aims to assist developers in performing database migrations alongside Testcontainers. This serves as an alternative to running the migration using Entity Framework.

Related issues

-

netlify[bot] commented 11 months ago

Deploy Preview for testcontainers-dotnet ready!

Name Link
Latest commit 96f5e7546050ec6bbef0c4c706ea0529b1fd2fa9
Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/6505ef6aa072d80008731e1f
Deploy Preview https://deploy-preview-1002--testcontainers-dotnet.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.