How to Install junit4 in Ubuntu 18.04



Install junit4 by entering the following commands in the terminal:

sudo apt update
sudo apt install junit4

Description:

JUnit regression test framework for Java

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. . JUnit 4 uses Java 5 features such as generics and annotations. If you need compatibility with previous Java versions, you should use the junit package (version 3) instead.

Homepage: http://www.junit.org

Version: 4.12-6

Section: universe/devel