Test case generation for the task tree type of architecture

被引:7
作者
Popovic, M. [1 ]
Basicevic, I. [1 ]
机构
[1] Univ Novi Sad, Fac Tech Sci, Novi Sad 21000, Serbia
关键词
Massively parallel software; Statistical usage testing; Test case generation; Operational reliability;
D O I
10.1016/j.infsof.2010.03.001
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Emerging multicores and clusters of multicores that may operate in parallel have set a new challenge - development of massively parallel software composed of thousands of loosely coupled or even completely independent threads/processes, such as MapReduce and Java 3.0 workers, or Erlang processes, respectively. Testing and verification is a critical phase in the development of such software products. Objective: Generating test cases based on operational profiles and certifying declared operational reliability figure of the given software product is a well-established process for the sequential type of software. This paper proposes an adaptation of that process for a class of massively parallel software - large-scale task trees. Method: The proposed method uses statistical usage testing and operational reliability estimation based on operational profiles and novel test suite quality indicators, namely the percentage of different task trees and the percentage of different paths. Results: As an example, the proposed method is applied to operational reliability certification of a parallel software infrastructure named the TaskTreeExecutor. The paper proposes an algorithm for generating random task trees to enable that application. Test runs in the experiments involved hundreds and thousands of Win32/Linux threads thus demonstrating scalability of the proposed approach. For practitioners, the most useful result presented is the method for determining the number of task trees and the number of paths, which are needed to certify the given operational reliability of a software product. The practitioners may also use the proposed coverage metrics to measure the quality of automatically generated test suite. Conclusion: This paper provides a useful solution for the test case generation that enables the operational reliability certification process for a class of massively parallel software called the large-scale task trees. The usefulness of this solution was demonstrated by a case study - operational reliability certification of the real parallel software product. (C) 2010 Elsevier B.V. All rights reserved.
引用
收藏
页码:697 / 706
页数:10
相关论文
共 33 条
[1]  
[Anonymous], MAPREDUCE SIMPLIFIED
[2]  
[Anonymous], 1998, document MIL-HDBK-338B.
[3]  
Armstrong J., 2007, Programming Erlang: Software for a Concurrent World, V1st
[4]   A hybrid heuristic approach to optimize rule-based software quality estimation models [J].
Azar, D. ;
Harmanani, H. ;
Korkmaz, R. .
INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (09) :1365-1376
[5]   An Approach to Parallelization of Legacy Software [J].
Basicevic, Ilija ;
Jovanovic, Sabina ;
Drapsin, Branislav ;
Popovic, Miroslav ;
Vrtunski, Vladislav .
2009 1ST IEEE EASTERN EUROPEAN CONFERENCE ON THE ENGINEERING OF COMPUTER BASED SYSTEMS, 2009, :42-+
[6]  
BROAKMAN B, 2002, TESTING EMBEDDED SOF
[7]  
Chen T. Y., 2007, P 2 ACM INT WORKSH R, P2
[8]  
Chen TY, 2004, LECT NOTES COMPUT SC, V3321, P320
[9]   Mirror adaptive random testing [J].
Chen, TY ;
Kuo, FC ;
Merkel, RG ;
Ng, SP .
INFORMATION AND SOFTWARE TECHNOLOGY, 2004, 46 (15) :1001-1010
[10]  
GITTENS M, 2003, 14 IEEE INT S SOFTW