Title :
ADLscope: an automated specification-based unit testing tool
Author :
Chang, Juei ; Richardson, Debra J.
Author_Institution :
Dept. of Inf. & Comput. Sci., California Univ., Irvine, CA, USA
Abstract :
Specification-based testing is important because it relates directly to what the program is supposed to do and can detect certain errors that are often not detected by traditional code-based testing techniques such as branch coverage and statement coverage. We have developed an automated testing tool, called ADLscope, that utilizes the formal specification of a program unit as the basis for test coverage measurement. A tester uses ADLscope to test application programming interfaces (APIs) written in the C programming language. The API must be formally specified in the Assertion Definition Language (ADL). The tester uses ADLscope to generate coverage conditions from a program´s ADL specifications. When the API is tested, ADLscope automatically measures how many of the coverage conditions have been covered by the tests
Keywords :
application program interfaces; computer aided software engineering; conformance testing; error detection; formal specification; program testing; software tools; specification languages; ADL specifications; ADLscope; API formal specification; Assertion Definition Language; C programming language.; application programming interfaces; automated specification-based unit testing tool; coverage conditions; error detection; test coverage measurement; Automatic testing; Computer errors; Computer science; Electrical capacitance tomography; Gas detectors; Materials testing; Read only memory; Software testing; Sun; Tellurium;
Conference_Titel :
Automated Software Engineering, 1998. Proceedings. 13th IEEE International Conference on
Conference_Location :
Honolulu, HI
Print_ISBN :
0-8186-8750-9
DOI :
10.1109/ASE.1998.732682