A Lightweight Approach for Estimating Probability in Risk-Based Software Testing

被引:1
作者
Ramler, Rudolf [1 ]
Felderer, Michael [2 ]
Leitner, Matthias [2 ]
机构
[1] Software Competence Ctr Hagenberg GmbH, Softwarepk 21, A-4232 Hagenberg, Austria
[2] Univ Innsbruck, Dept Comp Sci, Technikerstr 21a, A-6020 Innsbruck, Austria
来源
RISK ASSESSMENT AND RISK-DRIVEN QUALITY ASSURANCE, RISK 2016 | 2017年 / 10224卷
基金
奥地利科学基金会;
关键词
Risk-based testing; Risk assessment; Probability estimation; Defect prediction; Test management; Software testing;
D O I
10.1007/978-3-319-57858-3_9
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Using risk information in testing is requested in many testing strategies and recommended by international standards. The resulting, widespread awareness creates an increasing demand for concrete implementation guidelines and for methodological support on risk-based testing. In practice, however, many companies still perform risk-based testing in an informal way, based only on expert opinion or intuition. In this paper we address the task of quantifying risks by proposing a lightweight approach for estimating risk probabilities. The approach follows the " yesterday's weather" principle used for planning in Extreme Programming. Probability estimates are based on the number of defects in the previous version. This simple heuristic can easily be implemented as part of risk-based testing without specific prerequisites. It suits the need of small and medium enterprises as well as agile environments which have neither time nor resources for establishing elaborated approaches and procedures for data collection and analysis. To investigate the feasibility of the approach we used historical defect data from a popular open-source application. Our estimates for three consecutive versions achieved an accuracy of 73% to 78% and showed a low number of critical overestimates (< 4%) and few underestimates (< 1%). For practical risk-based testing such estimates provide a reliable quantitative basis that can be easily augmented with the expert knowledge of human decision-makers. Furthermore, these results also define a baseline for future research on improving probability estimation approaches.
引用
收藏
页码:115 / 128
页数:14
相关论文
共 28 条
[1]   Risk-based testing: Risk analysis fundamentals and metrics for software testing including a financial application case study [J].
Amland, S .
JOURNAL OF SYSTEMS AND SOFTWARE, 2000, 53 (03) :287-295
[2]  
[Anonymous], 2005, DATA MINING
[3]  
[Anonymous], 2013, 2911922013 ISOIECIEE
[4]  
Bach J., 1999, SOFTW TEST QUAL ENG
[5]  
Beck K., 2000, Extreme Programming eXplained: Embrace Change
[6]  
Beck K., 2001, Planning extreme programming
[7]  
Black R., 2009, ADV SOFTWARE TESTING, V2
[8]  
CERT, 2013, RISK MAN FRAM RMF
[9]   Risk orientation in software testing processes of small and medium enterprises: an exploratory and comparative study [J].
Felderer, Michael ;
Ramler, Rudolf .
SOFTWARE QUALITY JOURNAL, 2016, 24 (03) :519-548
[10]   A multiple case study on risk-based testing in industry [J].
Felderer, Michael ;
Ramler, Rudolf .
INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2014, 16 (05) :609-625