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
相关论文
共 42 条
  • [1] Context-oriented programming: A software engineering perspective
    Salvaneschi, Guido
    Ghezzi, Carlo
    Pradella, Matteo
    JOURNAL OF SYSTEMS AND SOFTWARE, 2012, 85 (08) : 1801 - 1817
  • [2] Context-oriented Software Transactional Memory in Common Lisp
    Costanza, Pascal
    Herzeel, Charlotte
    D'Hondt, Theo
    ACM SIGPLAN NOTICES, 2009, 44 (12) : 59 - 68
  • [3] 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
  • [4] 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
  • [5] Next Generation Context-oriented Programming: Embracing Dynamic Generation of Adaptations
    Cardozo, Nicolas
    Dusparic, Ivana
    JOURNAL OF OBJECT TECHNOLOGY, 2022, 21 (02):
  • [6] Towards a DevOps Modeling Based on Context-Oriented Programming
    Watanabe, Harumi
    Ogura, Nobuhiko
    Hisazumi, Kenji
    PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON THE ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, PROGRAMMING COMPANION 2024, 2024, : 6 - 7
  • [7] Programming language implementations for context-oriented self-adaptive systems
    Cardozo, Nicolas
    Mens, Kim
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 143
  • [8] Prototype of FPGA Dynamic Reconfiguration based-on Context-Oriented Programming
    Ohkawa, Takeshi
    Tanigawa, Ikuta
    Sato, Mikiko
    Hisazumi, Kenji
    Ogura, Nobuhiko
    Watanabe, Harumi
    2019 IEEE 13TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP (MCSOC 2019), 2019, : 116 - 122
  • [9] Software Test Case Generation with Adequacy Analysis on Scenario-Based Testing
    刘振宇
    杨根兴
    蔡立志
    JournalofDonghuaUniversity(EnglishEdition), 2011, 28 (02) : 139 - 144
  • [10] Auto-COP: Adaptation generation in Context-oriented Programming using Reinforcement Learning options
    Cardozo, Nicolas
    Dusparic, Ivana
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 164