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

被引:6
|
作者
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
相关论文
共 50 条
  • [1] Implementation of a Feature-Based Context-Oriented Programming Language
    Duhoux, Benoit
    Mens, Kim
    Dumas, Bruno
    PROCEEDINGS OF THE WORKSHOP ON CONTEXT-ORIENTED PROGRAMMING (COP'19), 2019, : 9 - 16
  • [2] Context-oriented programming: A software engineering perspective
    Salvaneschi, Guido
    Ghezzi, Carlo
    Pradella, Matteo
    JOURNAL OF SYSTEMS AND SOFTWARE, 2012, 85 (08) : 1801 - 1817
  • [3] Requirements Analysis for Context-oriented Systems
    Kirsch-Pinheiro, Manuele
    Mazo, Raul
    Souveyet, Carine
    Sprovieri, Danillo
    7TH INTERNATIONAL CONFERENCE ON AMBIENT SYSTEMS, NETWORKS AND TECHNOLOGIES (ANT 2016) / THE 6TH INTERNATIONAL CONFERENCE ON SUSTAINABLE ENERGY INFORMATION TECHNOLOGY (SEIT-2016) / AFFILIATED WORKSHOPS, 2016, 83 : 253 - 261
  • [4] Context-oriented Software Transactional Memory in Common Lisp
    Costanza, Pascal
    Herzeel, Charlotte
    D'Hondt, Theo
    ACM SIGPLAN NOTICES, 2009, 44 (12) : 59 - 68
  • [5] A context-oriented framework for software testing in pervasive environment
    Lu, Heng
    29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: ICSE 2007 COMPANION VOLUME, PROCEEDINGS, 2007, : 77 - 78
  • [6] Layer Modeling and Its Code Generation based on Context-oriented Programming
    Yamamoto, Chinatsu
    Tanigawa, Ikuta
    Hisazumi, Kenji
    Sato, Mikiko
    Ohkawa, Takeshi
    Ogura, Nobuhiko
    Watanabe, Harumi
    PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD), 2021, : 330 - 336
  • [7] Semantics for consistent activation in context-oriented systems
    Cardozo, Nicolas
    Gonzalez, Sebastian
    Mens, Kim
    Van Der Straeten, Ragnhild
    Vallejos, Jorge
    D'Hondt, Theo
    INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 58 : 71 - 94
  • [8] Event-Specific Software Composition in Context-Oriented Programming
    Appeltauer, Malte
    Hirschfeld, Robert
    Masuhara, Hidehiko
    Haupt, Michael
    Kawauchi, Kazunori
    SOFTWARE COMPOSITION, PROCEEDINGS, 2010, 6144 : 50 - +
  • [9] Context-Oriented Programming for Adaptive Wireless Sensor Network Software
    Afanasov, Mikhail
    Mottola, Luca
    Ghezzi, Carlo
    2014 IEEE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING IN SENSOR SYSTEMS (IEEE DCOSS 2014), 2014, : 233 - 240
  • [10] Next Generation Context-oriented Programming: Embracing Dynamic Generation of Adaptations
    Cardozo, Nicolas
    Dusparic, Ivana
    JOURNAL OF OBJECT TECHNOLOGY, 2022, 21 (02):