Practical integration testing using Testcontainers

Improve the quality of integration tests by bringing the power of Docker containers directly into your test code

4.25 (29 reviews)
Udemy
platform
English
language
Software Testing
category
instructor
Practical integration testing using Testcontainers
126
students
2 hours
content
Nov 2022
last update
$54.99
regular price

What you will learn

Where to use Testcontainers and why

Concepts and basics of Testcontainers library

Mocking systems as a whole instead of mocking certain modules in your code

Create, start and stop docker containers from your integration test code directly

How to integrate Testcontainers into the software build lifecycle

Usage of Testcontainers in example applications

Why take this course?

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:


  1. This course is about practice, not primarily theory (theory of testing for example)

  2. 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

  3. 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.

Screenshots

Practical integration testing using Testcontainers - Screenshot_01Practical integration testing using Testcontainers - Screenshot_02Practical integration testing using Testcontainers - Screenshot_03Practical integration testing using Testcontainers - Screenshot_04

Reviews

Swapnil
June 1, 2023
Thank you for this wonderful course. Could you please add few more scenarios like • how to separate junit and integration tests maven directory structure • Maven Failsafe Plugin for integration testing
Piotr
February 24, 2023
The basics are very well explained. It is a pity that the database chosen for testing is not Oracle. I am waiting for an extended course with Oracle database, creating users in Oracle and JDBC support ;)
Francisco
December 19, 2022
El curso está muy bien y es muy práctico. Es muy conciso y va al grano. Simplemente a veces le falta un poquito más de contexto y explicación, por eso no le pongo el cinco. Pero está muy bien :)

Charts

Price

Practical integration testing using Testcontainers - Price chart

Rating

Practical integration testing using Testcontainers - Ratings chart

Enrollment distribution

Practical integration testing using Testcontainers - Distribution chart
4872038
udemy ID
9/8/2022
course created date
10/27/2022
course indexed date
Bot
course submited by