DocumentCode :
2947474
Title :
A semi-automatic generator for unit testing code files based on JUnit
Author :
Huang, Cheng-hui ; Chen, Huo Yan
Author_Institution :
Dept. of Comput. Sci., Jinan Univ., Guangzhou, China
Volume :
1
fYear :
2005
fDate :
10-12 Oct. 2005
Firstpage :
140
Abstract :
JUnit is the de facto standard platform for Java unit testing. When we apply JUnit to put unit testing into practice, we should write some testing files, which obey the JUnit rules. These testing files have similar structure and similar codes. If we have to test a great amount of Java source files, according to the rules of JUnit, we must write almost the same amount of testing files. That is tedious work, and would cost much time and energy. This paper presents a semi-automatic generator of unit testing code files, which are derived from given Java source code files. The generator is constructed by analyzing the structure and rules of JUnit and applying reflection technique of Java language. It can alleviate tester´s burden, and improve the efficiency and velocity of unit test.
Keywords :
Java; program compilers; program testing; JUnit; Java language reflection; Java source files; Java unit testing; semiautomatic generator; testing files; unit testing code files; Automatic testing; Computer science; Concurrent computing; Costs; Java; Open source software; Reflection; Software systems; Software testing; System testing; JUnit; Java; testing file; unit testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Systems, Man and Cybernetics, 2005 IEEE International Conference on
Print_ISBN :
0-7803-9298-1
Type :
conf
DOI :
10.1109/ICSMC.2005.1571135
Filename :
1571135
Link To Document :
بازگشت