The Easiest Way to Run Integration Tests for Any Project with Docker

2 years ago
19

Integration testing is often neglected, because it seems too complicated or laborious. But with the help of Docker and Testcontainers, integration tests become a breeze. In this video you will learn to build integration tests for a simple Node.js API with TypeScript.

Source Code: https://github.com/flolu/node-integration-testing
Watch on Odysee: https://odysee.com/@flolu:7/node-integration-testing:0

Timeline
00:00 Introduction
01:07 The project
02:21 Setup integration tests
03:30 Start app with TestContainers
07:16 Writing test specs
09:04 GitHub action workflow
10:08 Wrap Up

Find me online
https://flolu.de
https://www.instagram.com/flo.ludewig
https://github.com/flolu

Loading comments...