DocumentCode :
2382380
Title :
Programmatic testing of the Standard Template Library containers
Author :
McDonald, Jason ; Hoffman, Daniel ; Strooper, Paul
Author_Institution :
Dept. of Comput. Sci. & Electr. Eng., Queensland Univ., Qld., Australia
fYear :
1998
fDate :
13-16 Oct 1998
Firstpage :
147
Lastpage :
156
Abstract :
We describe part of an STL conformance test suite under development. Test suites for all of the STL containers have been written, demonstrating the feasibility of thorough and highly automated testing of industrial component libraries. We describe affordable test suites that provide good code and boundary value coverage, including the thousands of cases that naturally occur from combinations of boundary values. We show how two simple oracles can provide fully automated output checking for all the containers. We refine the traditional categories of black-box and white-box testing to specification-based, implementation-based and implementation-dependent testing, and show how these three categories highlight the key cost/thoroughness trade-offs
Keywords :
conformance testing; formal specification; program testing; software libraries; STL conformance test suite; STL containers; Standard Template Library containers; automated testing; black-box testing; boundary value coverage; implementation-based testing; implementation-dependent testing; industrial component libraries; oracles; program testing; specification-based testing; white-box testing; Automatic testing; Computer industry; Containers; Costs; Hardware; Keyboards; Libraries; Mice; Read only memory; Software reusability;
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.732610
Filename :
732610
Link To Document :
بازگشت