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 条
[21]  
Popovic M., 2006, COMMUNICATION PROTOC
[22]  
Popovic M, 2007, ECBS 2007: 14TH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER-BASED SYSTEMS, PROCEEDINGS, P485
[23]   A model-based statistical usage testing of communication protocols [J].
Popovic, Miroslav ;
Basicevic, Ilija ;
Velikic, Ivan ;
Tatic, Jelena .
13TH ANNUAL IEEE INTERNATIONAL SYMPOSIUM AND WORKSHOP ON ENGINEERING OF COMPUTER BASED SYSTEMS, PROCEEDINGS: MASTERING THE COMPLEXITY OF COMPUTER-BASED SYSTEMS, 2006, :377-+
[24]   A Task Tree Executor: New Runtime for Parallelized Legacy Software [J].
Popovic, Miroslav ;
Basicevic, Ilija ;
Vrtunski, Vladislav .
16TH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOP ON THE ENGINEERING OF COMPUTER BASED SYSTEMS, PROCEEDINGS, 2009, :41-+
[25]  
POPSTOJANOVA KG, 2003, P 14 IEEE INT S SOFT, P307
[26]  
POPSTOJANOVA KG, 2004, 15 IEEE INT S HIGH A
[27]  
Prowell S.J., 1999, SEI S SOFTW
[28]   Structural testing criteria for message-passing parallel programs [J].
Souza, S. R. S. ;
Vergilio, S. R. ;
Souza, P. S. L. ;
Simao, A. S. ;
Hausen, A. C. .
CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2008, 20 (16) :1893-1916
[29]  
WAIT DM, 1994, P 5 IEEE INT S SOFTW, P18
[30]  
WOIT D, 1993, P INT S SOFTW TEST A, P2