Supporting inheritance hierarchy changes in model-based regression test selection

被引:2
|
作者
Al-Refai, Mohammed [1 ]
Ghosh, Sudipto [1 ]
Cazzola, Walter [2 ]
机构
[1] Colorado State Univ, Dept Comp Sci, Ft Collins, CO 80523 USA
[2] Univ Milan, Dept Comp Sci, Milan, Italy
来源
SOFTWARE AND SYSTEMS MODELING | 2019年 / 18卷 / 02期
基金
美国国家科学基金会;
关键词
Executable UML models; Inheritance hierarchy; Model-based adaptation; Model-based regression test selection; Model validation; Runtime adaptation; UML activity diagram; UML class diagram;
D O I
10.1007/s10270-017-0636-3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Models can be used to ease and manage the development, evolution, and runtime adaptation of a software system. When models are adapted, the resulting models must be rigorously tested. Apart from adding new test cases, it is also important to perform regression testing to ensure that the evolution or adaptation did not break existing functionality. Since regression testing is performed with limited resources and under time constraints, regression test selection (RTS) techniques are needed to reduce the cost of regression testing. Applying model-level RTS for model-based evolution and adaptation is more convenient than using code-level RTS because the test selection process happens at the same level of abstraction as that of evolution and adaptation. In earlier work, we proposed a model-based RTS approach called MaRTS to be used with a fine-grained model-based adaptation framework that targets applications implemented in Java. MaRTS uses UML models consisting of class and activity diagrams. It classifies test cases as obsolete, reusable, or retestable based on changes made to UML class and activity diagrams of the system being adapted. However, MaRTS did not take into account the changes made to the inheritance hierarchy in the class diagram and the impact of these changes on the selection of test cases. This paper extends MaRTS to support such changes and demonstrates that the extended approach performs as well as or better than code-based RTS approaches in safely selecting regression test cases. While MaRTS can generally be used during any model-driven development or model-based evolution activity, we have developed it in the context of runtime adaptation. We evaluated the extended MaRTS on a set of applications and compared the results with code-based RTS approaches that also support changes to the inheritance hierarchy. The results showed that the extended MaRTS selected all the test cases relevant to the inheritance hierarchy changes and that the fault detection ability of the selected test cases was never lower than that of the baseline test cases. The extended MaRTS achieved comparable results to a graph-walk code-based RTS approach (DejaVu) and showed a higher reduction in the number of selected test cases when compared with a static analysis code-based RTS approach (ChEOPSJ).
引用
收藏
页码:937 / 958
页数:22
相关论文
共 50 条
  • [31] Model-based Systems Engineering Process for Supporting Variant Selection in the Early Product Development Phase
    Li, H.
    Zou, M.
    Weidmann, D.
    Cheaib, S. A.
    Moertl, M.
    Vogel-Heuserl, B.
    2019 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND ENGINEERING MANAGEMENT (IEEM), 2019, : 637 - 643
  • [32] A program model based regression test selection technique for d programming language
    Chouhan, Nitesh
    Dutta, Maitreyee
    Singh, Mayank
    International Journal of Hybrid Information Technology, 2015, 8 (06): : 341 - 356
  • [33] Oracle-Based Regression Test Selection
    Yu, Tingting
    Qu, Xiao
    Acharya, Mithun
    Rothermel, Gregg
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 292 - 301
  • [34] Variable selection for model-based clustering
    Raftery, AE
    Dean, N
    JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 2006, 101 (473) : 168 - 178
  • [35] Model-based estimates for operant selection
    Borgstede, Matthias
    Anselme, Patrick
    JOURNAL OF THE EXPERIMENTAL ANALYSIS OF BEHAVIOR, 2024, 122 (01) : 62 - 71
  • [36] Model-based chromatographic resin selection
    Nfor, Beckley K.
    Zuluaga, Diego S.
    Verheijen, Peter J. T.
    van der Wielen, Luuk A. M.
    Verhaert, Peter D. E. M.
    Ottens, Marcel
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2012, 243
  • [37] Model-Based Test Case Prioritization Using an Alternating Variable Method for Regression Testing of a UML-Based Model
    Shin, Ki-Wook
    Lim, Dong-Jin
    APPLIED SCIENCES-BASEL, 2020, 10 (21): : 1 - 23
  • [38] Model-based random forests for ordinal regression
    Buri, Muriel
    Hothorn, Torsten
    INTERNATIONAL JOURNAL OF BIOSTATISTICS, 2020, 16 (02):
  • [39] Model-Based Regression Testing of Autonomous Robots
    Honfi, David
    Molnar, Gabor
    Micskei, Zoltan
    Majzik, Istvan
    SDL 2017: MODEL-DRIVEN ENGINEERING FOR FUTURE INTERNET, 2017, 10567 : 119 - 135
  • [40] Empirical studies of a prediction model for regression test selection
    Harrold, MJ
    Rosenblum, D
    Rothermel, G
    Weyuker, E
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (03) : 248 - 263