Practical integration testing using Testcontainers
- Description
- Curriculum
- FAQ
- Reviews
Why should you learn about Testcontainers, and what is it at all? If you reached here, you’ll surely have an idea about that. I suppose you’re testing your software already and want to figure out what Testcontainers can exactly do for you to somehow improve the quality of testing.
So welcome here to the first course on Udemy regarding that topic. I’m Ansgar, and I’m a freelanced software engineer, working with tools like Testcontainers almost every day.
Testcontainers points out, that it makes testing – especially integration testing – easier. I totally agree, but there are other – relevant and important – aspects which should be mentioned. Here are only a few examples:
-
It makes extension of your integration tests scope to the outermost boundaries possible without having to switch to full-fledged e2e tests
-
You can avoid having potentially confusing test setup with mocks and fakes
-
Using H2 although that’s likely not your production database? No longer soon, perhaps …
-
Not relying on JPA but on plain SQL and want to test your statements against a production-like database system? Easy with Testcontainers!
-
Using Docker in your build lifecycle already? Then setting up Testcontainers is in a breeze
-
…
In this course, I’ll talk about the above-mentioned topics and give you a step-by-step walkthrough of the most important features of Testcontainers. For this, I’ll stick to the following guidelines:
-
This course is about practice, not primarily theory (theory of testing for example)
-
I keep sections short in order to accelerate your progress. I do this by not losing myself in endless details. If a question stays open: Leave me a message
-
Feedback and discussions are always welcome. I plan to extend this course content on demand based on your feedback
Ready for takeoff? Subscribe to the course and let’s go right away.
-
7Integration with junit 5Video lesson
-
8Integration with junit 4Video lesson
-
9Configure loggingVideo lesson
-
10Port mappingVideo lesson
-
11Setting environment variablesVideo lesson
-
12Bind mounts and volumesVideo lesson
-
13Accessing container logsVideo lesson
-
14Checking container livenessVideo lesson
-
15Checking container readinessVideo lesson
-
16Defining container dependenciesVideo lesson
-
17Creating Docker images on the flyVideo lesson
-
18Image name substitutionVideo lesson
-
19Using Docker ComposeVideo lesson
-
20Using modulesVideo lesson
-
21Testing inside a containerVideo lesson
External Links May Contain Affiliate Links read more