O'Reilly logo

Mastering Software Testing with JUnit 5 by Boni García

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JUnit 5 extension for Docker

Nowadays, containers are changing the way we develop, distribute, and run software. This is especially interesting for Continuous Integration (CI) testing environment, in which the convergence with Docker has a direct impact on the improvement of efficiency.

Regarding JUnit 5, at the moment of this writing there is an open source JUnit 5 extension for Docker, named JUnit5-Docker (https://faustxvi.github.io/junit5-docker/). This extension acts as client of the Docker engine and allows to start a Docker container (downloaded from the Docker Hub), before running the tests of a class. That container is stopped at the end of the tests. In order to use JUnit5-Docker, first we need to add the dependency in our project. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required