Test scenario generation for feature-based context-oriented software systems

被引:7
作者
Martou, Pierre [1 ]
Mens, Kim [1 ]
Duhoux, Benoit [1 ]
Legay, Axel [1 ]
机构
[1] UCLouvain, ICTEAM, Louvain La Neuve, Belgium
关键词
Context-oriented programming; Feature modelling; Dynamic software product lines; Software testing; Combinatorial interaction testing; Satisfiability checking (SAT); PRIORITIZATION;
D O I
10.1016/j.jss.2022.111570
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Feature-based context-oriented programming reconciles ideas from context-oriented programming, feature modelling and dynamic software product lines. It offers a programming language, architecture, tools and methodology to develop software systems consisting of contexts and features that can become active at run-time to offer the most appropriate behaviour depending on the actual context of use. Due to their high run-time adaptivity, dedicated tool support to test such systems is needed. Building upon a pairwise combinatorial interaction testing approach from the domain of software product lines, we implement an algorithm to generate automatically a small set of relevant test scenarios, ordered to minimise the number of context activations between tests. We also explore how the generated scenarios can be enhanced incrementally when the software evolves, and how useful the proposed testing approach is in practice. (c) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页数:23
相关论文
共 70 条
[1]  
Abowd GD, 1999, LECT NOTES COMPUT SC, V1707, P304
[2]  
Acher M., 2009, 4 INT WORKSHOP MODEL, P10
[3]   Effective product-line testing using similarity-based product prioritization [J].
Al-Hajjaji, Mustafa ;
Thuem, Thomas ;
Lochau, Malte ;
Meinicke, Jens ;
Saake, Gunter .
SOFTWARE AND SYSTEMS MODELING, 2019, 18 (01) :499-521
[4]  
[Anonymous], 2012, ACM SIGSOFT Softw. Eng. Notes
[5]   Assessing the maintainability of software product line feature models using structural metrics [J].
Bagheri, Ebrahim ;
Gasevic, Dragan .
SOFTWARE QUALITY JOURNAL, 2011, 19 (03) :579-612
[6]   BAITAL: An Adaptive Weighted Sampling Approach for Improved t-wise Coverage [J].
Baranov, Eduard ;
Legay, Axel ;
Meel, Kuldeep S. .
PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, :1114-1126
[7]   Dynamically Evolving the Structural Variability of Dynamic Software Product Lines [J].
Baresi, Luciano ;
Quinton, Clement .
2015 IEEE/ACM 10TH INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR ADAPTIVE AND SELF-MANAGING SYSTEMS, 2015, :57-63
[8]   Automated analysis of feature models 20 years later: A literature review [J].
Benavides, David ;
Segura, Sergio ;
Ruiz-Cortes, Antonio .
INFORMATION SYSTEMS, 2010, 35 (06) :615-636
[9]  
Bencomo N., 2008, P 12 INT SOFTW PROD, V2, P23
[10]  
Bencomo Nelly, 2010, DYNAMIC IS YOUR DYNA