DocumentCode :
2381566
Title :
Specification-based testing of Ada units with low encapsulation
Author :
Reyes, Arthur Alexander ; Richardson, Debra J.
Author_Institution :
Dept. of Inf. & Comput. Sci., California Univ., Irvine, CA, USA
fYear :
1998
fDate :
13-16 Oct 1998
Firstpage :
22
Lastpage :
31
Abstract :
Describes a system that improves testing quality by supporting automatic test data selection, execution and result verification. The system tests poorly-encapsulated Ada units against formal specifications. This task is difficult partly because the unit´s interface is not explicit, but rather is buried in the body/implementation code. We attack this problem by making the unit´s interface explicit and complete. This is accomplished via automatic and manual analysis of the body. The complete interface is represented using an extended algebraic signature notation. Once the signature has been discovered, it can be reformulated so that a collection of well-defined, static mappings are established between it and the signature of the unit´s formal specification. These mappings guide the development of test artifact transformers and oracles, which support automatic test data selection, execution and result verification. This paper discusses problems that arise as a result of testing under low encapsulation, discusses our solution using an ongoing example, and compares our solution to earlier solutions
Keywords :
Ada; algebraic specification; computer aided software engineering; data encapsulation; program testing; program verification; software quality; automatic result verification; automatic test data selection; automatic test execution; complete interface; encapsulation; extended algebraic signature notation; formal specification-based testing; implementation code; implicit unit interface; oracles; poorly-encapsulated Ada units; software testing quality; static mappings; test artifact transformers; Automatic testing; Computer science; Encapsulation; Formal specifications; Identity-based encryption; Manuals; Software engineering; Software testing; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering, 1998. Proceedings. 13th IEEE International Conference on
Conference_Location :
Honolulu, HI
Print_ISBN :
0-8186-8750-9
Type :
conf
DOI :
10.1109/ASE.1998.732563
Filename :
732563
Link To Document :
بازگشت