Title :
Testing a High Performance, Random Access Priority Queue: A Case Study
Author :
McCaffrey, James D. ; Bonar, Adrian
Abstract :
This paper presents a case study of the functional verification of a custom implementation of a random access priority queue which was optimized for performance. Although data structures have been used for decades few studies have examined the effectiveness of different testing strategies applied to complex data structures. In this study, four different testing approaches were used to test a priority queue. The results showed that a state transition testing approach (13 faults discovered) was clearly superior with regards to the number of faults found than the alternatives of a manual testing approach (3 faults discovered), a unit testing approach (4 faults discovered), and a classical test harness approach (6 faults discovered). Because the state transition testing approach used was in essence a modified form of random input testing, the results of this study suggest that the notion that random input testing is typically less effective than other forms of testing may be an overly broad generalization.
Keywords :
data structures; formal verification; program testing; queueing theory; classical test harness approach; data structure; functional verification; manual testing approach; random access priority queue; state transition testing approach; unit testing approach; Algorithm design and analysis; Arrays; Indexes; Manuals; Queueing analysis; Testing; Priority queue; software testing; state transition; test harness; unit testing;
Conference_Titel :
Information Technology: New Generations (ITNG), 2011 Eighth International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-61284-427-5
Electronic_ISBN :
978-0-7695-4367-3
DOI :
10.1109/ITNG.2011.56