Title :
CppTest: A Prototype Tool for Testing C/C++ Programs
Author :
Mao, Chengying ; Lu, Yansheng
Author_Institution :
Coll. of Comput. Sci. & Technol., Huazhong Univ. of Sci. & Technol.
Abstract :
Software testing is a practical activity combined with theory, technology, tool, and management. Assistant tool for testing plays an important role in software development in practice, and should not be neglected. Taking the popularly used C and C+ + programs as the test objects, this paper explores how to implement a semi-automatic tool (named CppTest) with the testing capability in three levels, namely (1) structural testing in method level, (2) state-based class level testing through modeling state transition behaviors using an extended finite state machine (EFSM), and (3) system level black-box testing with some traditional strategies. During the later debugging stage, the prototype system can perform clustering analysis on the failure executions and sample fairly few representative test executions to direct program diagnosis. CppTest mainly possesses the merits as follows: (1) multi-levels´ testing support, (2) high automation and visualization, (3) test project management, and (A) favorable scalability. In addition, some future research directions are also explored
Keywords :
C++ language; failure analysis; finite state machines; object-oriented programming; program debugging; program diagnostics; program testing; software tools; C program testing; C++ program testing; CppTest tool; clustering analysis; extended finite state machine; failure execution; program debugging; program diagnosis; software testing; state transition behavior modeling; state-based class level testing; structural testing; system level black-box testing; test project management; Automata; Automatic testing; Debugging; Performance evaluation; Programming; Prototypes; Software prototyping; Software testing; System testing; Technology management;
Conference_Titel :
Availability, Reliability and Security, 2007. ARES 2007. The Second International Conference on
Conference_Location :
Vienna
Print_ISBN :
0-7695-2775-2
DOI :
10.1109/ARES.2007.62