Title :
The Extension of the Unit Testing Tool Junit for Special Testings
Author :
Kong, Liangliang ; Yin, Zhaolin
Author_Institution :
Dept. of Comput. Sci. & Technol., China Univ. of Min. & Technol., Jiangsu
Abstract :
The unit testing tool Junit mainly deals with fundamental class testing and compounding class testing. However, it cannot conveniently test private methods and domains, neither cannot support testing the method, whose type of parameters is a class, in a fundamental class or a compounding class. In addition, it even cannot efficiently support some special Java class testing, such as the inherited class, abstract class and interface. This paper discusses how to introduce new testing principles and a new plug-in to Junit, and how to extend the source code of Junit to improve the testing effectiveness
Keywords :
Java; program testing; public domain software; software tools; Junit source code; fundamental class testing; open source software tool; plug-in; special Java class testing; unit testing tool; Computer science; Concrete; Java; Packaging; Production facilities; Programming profession; Protection; Testing; Unified modeling language;
Conference_Titel :
Computer and Computational Sciences, 2006. IMSCCS '06. First International Multi-Symposiums on
Conference_Location :
Hanzhou, Zhejiang
Print_ISBN :
0-7695-2581-4
DOI :
10.1109/IMSCCS.2006.276