Title :
Towards generating human-oriented summaries of unit test cases
Author :
Kamimura, Manabu ; Murphy, Gail C.
Author_Institution :
Software Innovation Lab., Fujitsu Labs. Ltd., Kawasaki, Japan
Abstract :
The emergence of usable unit testing frameworks (e.g., JUnit for Java code) and unit test generators (e.g., CodePro for Java code) make it easier to create more comprehensive unit testing suites for applications. Unfortunately, test code, especially generated test code, can be difficult to comprehend. In this paper, we propose generating human-oriented summaries of test cases. We suggest an initial approach based on a static analysis of the source code of the test cases. Our goal is to help improve a human´s ability to quickly comprehend unit test cases so that appropriate decisions can be made about where to place effort when dealing with large unit test suites.
Keywords :
Java; program compilers; program diagnostics; program testing; CodePro; JUnit; Java code; generated test code; human-oriented summary; static analysis; unit test cases; unit test generators; usable unit testing frameworks; Documentation; Generators; Java; Laboratories; Software; Technological innovation; Test case comprehension; summarization;
Conference_Titel :
Program Comprehension (ICPC), 2013 IEEE 21st International Conference on
Conference_Location :
San Francisco, CA
DOI :
10.1109/ICPC.2013.6613851