Companies Home Search Profile

Practical integration testing using Testcontainers

Focused View

Ansgar Schulte

2:12:36

151 View
  • 1 - Where does Testcontainers help.mp4
    02:32
  • 1 - practical test pyramid.zip
  • 1 - testing pyramid.zip
  • 2 - What problems it addresses.mp4
    03:53
  • 3 - How does it help in a nutshell.mp4
    03:01
  • 4 - System requirements.mp4
    03:00
  • 4 - installing docker locally.zip
  • 4 - testcontainers documentation docker requirements.zip
  • 4 - testcontainers documentation limitations for windows users.zip
  • 4 - testcontainers documentation requirements for certain ci environments.zip
  • 5 - Tooling requirements.mp4
    01:51
  • 6 - A first example.mp4
    04:10
  • 6 - maven archetype for generating a simple project.zip
  • 7 - Integration with junit 5.mp4
    06:04
  • 8 - Integration with junit 4.mp4
    02:14
  • 9 - Configure logging.mp4
    04:38
  • 9 - slf4j documentation.zip
  • 10 - Port mapping.mp4
    08:14
  • 10 - TodolistClasses.zip
  • 10 - spring jdbctemplate.zip
  • 11 - Setting environment variables.mp4
    02:23
  • 12 - Bind mounts and volumes.mp4
    03:46
  • 13 - Accessing container logs.mp4
    08:49
  • 14 - Checking container liveness.mp4
    08:41
  • 14 - docker healthcheck feature.zip
  • 15 - Checking container readiness.mp4
    03:16
  • 16 - Defining container dependencies.mp4
    04:13
  • 17 - Creating Docker images on the fly.mp4
    06:09
  • 18 - Image name substitution.mp4
    03:52
  • 18 - docker pull rate limit.zip
  • 18 - required docker images when hosting an own docker repository.zip
  • 19 - Using Docker Compose.mp4
    05:29
  • 19 - docker compose documentation.zip
  • 20 - Using modules.mp4
    06:14
  • 21 - Testing inside a container.mp4
    06:42
  • 22 - First things first.mp4
    00:51
  • 23 - Testing database access in SpringBoot.mp4
    16:08
  • 23 - spring boot sample project on github.zip
  • 24 - Usage in Nodejs connecting Express with Redis.mp4
    16:26
  • 24 - sourcecode of the demo application on github.zip
  • 24 - testcontainers repository on github see here for supported ecosystems.zip
  • Description


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

    What You'll 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

    Who is this for?


  • Software developers who want to bring the power of Docker containers into their testing infrastructure
  • Software developers just interested in this topic
  • What You Need to Know?


  • You should know about Docker basics
  • You should be experienced with java development
  • It helps if you have used a testing framework like junit already
  • It helps if you have worked with common frameworks in the Java ecosystem like Spring for example
  • More details


    Description

    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.

    Who this course is for:

    • Software developers who want to bring the power of Docker containers into their testing infrastructure
    • Software developers just interested in this topic

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Ansgar Schulte
    Ansgar Schulte
    Instructor's Courses
    Hi, I'm AnsgarI'm a freelanced software engineer with many years of practical experience. During my projects I use many different tools, frameworks and approaches to create tailor-made software of high quality for my clients.Here on Udemy, I want to share my knowledge with you, I acquired during my projects. So if you check in to one of my courses, please feel very welcome and thank you for your support.BestAnsgar
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 24
    • duration 2:12:36
    • Release Date 2022/12/01