4.6 Article

Model-Based Ideal Testing of GUI Programs-Approach and Case Studies

期刊

IEEE ACCESS
卷 9, 期 -, 页码 68966-68984

出版社

IEEE-INST ELECTRICAL ELECTRONICS ENGINEERS INC
DOI: 10.1109/ACCESS.2021.3077518

关键词

Testing; Graphical user interfaces; Software; Adaptation models; Test pattern generators; Reliability; Object oriented modeling; GUI testing; holistic testing; ideal testing; model-based testing; mutation testing; test generation; regular expression

资金

  1. University of Antwerp [43169]

向作者/读者索取更多资源

The proposed approach introduces a novel way of software testing for graphical user interfaces, aiming to show both the presence and absence of faults. It utilizes positive and negative testing concepts to build a holistic view, modeling GUIs with finite state machines and converting them to regular expressions for test case generation. Test selection and coverage criteria are then used to assess the adequacy and efficiency of the positive tests, while systematically mutating the FSMs for negative tests to model faults and demonstrate their absence.
Traditionally, software testing is aimed at showing the presence of faults. This paper proposes a novel approach to testing graphical user interfaces (GUI) for showing both the presence and absence of faults in the sense of ideal testing. The approach uses a positive testing concept to show that the GUI under consideration (GUC) does what the user expects; to the contrary, the negative testing concept shows that the GUC does not do anything that the user does not expect, building a holistic view. The first step of the approach models the GUC by a finite state machine (FSM) that enables the model-based generation of test cases. This is always possible as the GUIs are considered as strictly sequential processes. The next step converts the FSM to an equivalent regular expression (RE) that will be analyzed first to construct test selection criteria for excluding redundant test cases and construct test coverage criteria for terminating the positive test process. Both criteria enable us to assess the adequacy and efficiency of the positive tests performed. The negative tests will be realized by systematically mutating the FSM to model faults, the absence of which are to be shown. Those mutant FSMs will be handled and assessed in the same way as in positive testing. Two case studies illustrate and validate the approach; the experiments' results will be analyzed to discuss the pros and cons of the techniques introduced.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.6
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据