Loading...
Event-driven web application testing based on model-based mutation testing
Habibi, E ; Sharif University of Technology | 2015
504
Viewed
- Type of Document: Article
- DOI: 10.1016/j.infsof.2015.07.003
- Publisher: Elsevier , 2015
- Abstract:
- Context Event-Driven Software (EDS) is a class of software whose behavior is driven by incoming events. Web and desktop applications that respond to user-initiated events on their Graphical User Interface (GUI), or embedded software responding to events and signals received from the equipment in its operating environment are examples of EDS. Testing EDS poses great challenges to software testers. One of these challenges is the need to generate a huge number of possible event sequences that could sufficiently cover the EDS's state space. Objective In this paper, we introduce a new six-stage testing procedure for event-driven web applications to overcome EDS testing challenges. Method The stages of the testing procedure include dividing the application based on its structure, creating functional graphs for each section, creating mutants from functional graphs, choosing coverage criteria to produce test paths, merging event sequences to make longer ones, and deriving and running test cases. We have analyzed our proposed testing procedure with the help of four metrics consisting of Fault Detection Density (FDD), Fault Detection Effectiveness (FDE), Mutation Score, and Unique Fault. Results Using this procedure, we have prepared prioritized test cases and also discovered a list of unique faults by running the suggested test cases on a sample real-world web application called Academic E-mail System. Conclusion We propose that our suggested testing procedure has some advantages such as creating functional graphs with requirements document, resolving the problem of removing infeasible test cases with these graphs and conditions on the "add edge" operator before creating mutants. But the suggested testing procedure, like any other method, had some drawbacks. Because most of the stages in the approach were performed manually, the testing time was increased
- Keywords:
- Event-driven software ; Functional graph ; Application programs ; Fault detection ; Graphic methods ; Graphical user interfaces ; Real time systems ; Social networking (online) ; Testing ; User interfaces ; World Wide Web ; Event ; Event-driven softwares ; Functional graphs ; Mutation analysis ; Test case generation ; WEB application ; Software testing
- Source: Information and Software Technology ; Volume 67 , 2015 , Pages 159-179 ; 09505849 (ISSN)
- URL: http://www.sciencedirect.com/science/article/pii/S0950584915001263