Difference between revisions of "CI/JUnit"

From OpenMBD
< CI
Jump to: navigation, search
(Created page with "{{CI}}")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{CI}}
 
{{CI}}
 +
 +
[[File:JUnitLogo.png|center|150px]]
 +
== 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 [http://junit.org/junit4/| 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.

Latest revision as of 13:50, 31 October 2017


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.