The best way to perform integration testing in your CI/CD pipeline

The best way to perform integration testing in your CI/CD pipeline

HomeMilan JovanovićThe best way to perform integration testing in your CI/CD pipeline
The best way to perform integration testing in your CI/CD pipeline
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
️ Master the modular monolith architecture: https://bit.ly/3SXlzSt
Accelerate your Clean Architecture knowledge: https://bit.ly/3PupkOJ
Support me on Patreon to access the source code: https://www.patreon.com/milanjovanovic

Integration testing is a testing technique that tests the integration between multiple components. It usually involves using a database to test your query logic. Docker is a great tool for creating disposable databases for your integration tests. And you can do even better with the Testconatiners library. It allows you to programmatically create your Docker containers for integration tests. In this video, I'll show you how to use GitHub Actions to run your tests in a CI pipeline.

Check out my courses: https://bit.ly/3PupkOJ

Test containers – integration tests with Docker in .NET
https://www.milanjovanovic.tech/blog/testcontainers-integration-testing-using-docker-in-dotnet

To create a CI/CD pipeline with GitHub Actions and .NET:
https://www.milanjovanovic.tech/blog/how-to-build-ci-cd-pipeline-with-github-actions-and-dotnet

Subscribe to my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my blog here:
https://www.milanjovanovic.tech/blog

Chapter
0:00 Preparing the test boilerplate
3:53 Add some test cases
8:33 Setting up the GitHub Actions workflow
9:46 Running tests in the CI pipeline with GitHub Actions
13:04 Test container alternative: Docker Compose

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.