The official JUnit docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current JUnit docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
JUnit 6 is the current generation of the JUnit testing framework, which provides a modern foundation for developer-side testing on the JVM. It requires Java 17 and Kotlin 2.1 or above and enables many different styles of testing.
Learn more on JUnit.
The tag of each junit5 docker image is consist of the version of junit5 and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 6.1.3-oe2403sp4 | JUnit 6.1.3 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
In this usage, users can select the corresponding {Tag} based on their requirements.
Pull the openeuler/junit5 image from docker
docker pull openeuler/junit5:{Tag}
Run tests with the JUnit Platform Console Launcher
docker run --rm -v "$PWD":/workspace -w /workspace openeuler/junit5:{Tag} execute --class-path target/test-classes --scan-class-path
Start a JUnit container
docker run -it --name my-junit --entrypoint /bin/bash openeuler/junit5:{Tag}
View container running logs
docker logs -f my-junit
To get an interactive shell
docker exec -it my-junit /bin/bash
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:a8a2c125d…
Size
166.6 MB
Last updated
1 day ago
docker pull openeuler/junit5Pulls:
1
Last week