Aleš Šarkanj (2011) The comparison of the unit test tools JUnit and TestNG. EngD thesis.
Abstract
Testing holds an important role in developing software. It is a process ensuring software works as expected. An important part of testing is unit testing as the basic testing level. The purpose of this thesis is comparing JUnit and TestNG, two of the most popular unit testing tools in Java. In the first part we will present testing and its purpose within software development. We will also present the basic terminology and levels of testing. Further on the area of unit testing will be presented, as well as JUnit and TestNG. The main part of this thesis is dedicated to comparing the two tools. First we will consider the requirements, expected in a unit testing tools, from which a set of comparison criteria will be established. Finally the comparison results and choice of the best tool will be presented.
Actions (login required)