Title :
A graphical class representation for integrated black- and white-box testing
Author :
Beydeda, Sami ; Gruh, V. ; Stachorski, Michael
Author_Institution :
Dept. of Comput. Sci., Dortmund Univ., Germany
Abstract :
Although both black- and white-box testing have the same objective, namely detecting faults in a program, they are often conducted separately. In our opinion, the reason is the lack of techniques and tools integrating both strategies, although an integration can substantially decrease testing costs. Specifically, an integrated technique can generate a reduced test suite, as single test cases can cover both specification and implementation at the same time. The paper proposes a new graphical representation of classes, which can be used for integrated class-level black-and white-box testing. Its distinguishing feature from existing representations is that each method of a class is shown from two perspectives, namely the specification and implementation view. Both the specification of a method and its implementation are represented as control flow graphs, which allows black- and white-box testing by structural techniques. Moreover, a test suite reduction technique has been developed for adjusting white-box test cases to black-box testing
Keywords :
flow graphs; formal specification; program testing; program visualisation; control flow graphs; graphical class representation; graphical representation; implementation view; integrated black/white-box testing; integrated class-level black-box testing; integrated technique; program fault detection; reduced test suite; single test cases; specification; structural techniques; test suite reduction technique; testing costs; white-box testing; Computer science; Costs; Fault detection; Flow graphs; Object oriented modeling; Read only memory; Software libraries; Software maintenance; Software quality; Software testing;
Conference_Titel :
Software Maintenance, 2001. Proceedings. IEEE International Conference on
Conference_Location :
Florence
Print_ISBN :
0-7695-1189-9
DOI :
10.1109/ICSM.2001.972789