MENU

Fun & Interesting

Testcontainers have forever changed the way I write tests

Dreams of Code 132,477 lượt xem 1 year ago
Video Not Working? Fix It Now

I don't always test my code, but when I do, I test against real services.

The testcontainers package enables me to easily test against real services, in a way that doesn't cause issues that normally come from integration testing, which usually leads to flaky tests.

This video is kindly sponsored by Docker.

Download Tescontainers Desktop for free: https://dockr.ly/49HLeVy
AtomicJar is now part of Docker: https://dockr.ly/3vUGkH0
The blog post your mentioning: https://dockr.ly/3W4RO5l
GitHub Repo: https://github.com/dreamsofcode-io/testcontainers

Join this channel to get access to perks:
https://www.youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join

Join Discord: https://discord.com/invite/eMjRTvscyt
Join Twitter: https://twitter.com/dreamsofcode_io

00:00:00 - Intro
00:01:13 - Project Setup
00:03:29 - Test containers to the rescue
00:07:17 - Valkey
00:07:54 - Modules
00:10:54 - Advanced usage

Comment