JUnit

From OpenMBD
< CI
Jump to: navigation, search


Back to Home

JUnitLogo.png

Introduction to JUnit

JUnit is a testing framework which enables the programmers to write unit tests. A unit test can test a software unit, which in Java mostly is one method. Each method therefore has one or more Unit tests which together should cover all the code inside the tested method. It is the first and lowest level of automated tests run in the test automation server. More information on JUnit can be found on this website.


Installation

JUnit consists of a Java library which is already part of the HANtune project. It therefore does not require any installation. While building, Ant will find a test target in the build.xml file which triggers the execution of the unit tests defined in the "test" package in the HANtune branch.


Configuration

JUnit does not require any configuration.