Sign inSign up

openeuler/junit5

Sponsored OSS

By openeuler

•Updated 1 day ago

Image
0

245

openeuler/junit5 repository overview

⁠Quick reference

⁠JUnit5 | 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

TagCurrentlyArchitectures
6.1.3-oe2403sp4⁠JUnit 6.1.3 on openEuler 24.03-LTS-SP4amd64, arm64

⁠Usage

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
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:a8a2c125d…

Size

166.6 MB

Last updated

1 day ago

docker pull openeuler/junit5

This week's pulls

Pulls:

1

Last week