Elgendy, I.T. orcid.org/0000-0002-8416-5480, Girgis, M.R. and Sewisy, A.A. (2020) A GA-based approach to automatic test data generation for ASP.NET web applications. IAENG International Journal of Computer Science, 47 (3). pp. 557-564. ISSN 1819-656X
Abstract
One of the major challenges in software testing is the generation of test data automatically that satisfy a specified adequacy criterion. This paper presents a GA-based approach and a supporting tool for data-flow test data generation for ASP.NET web applications. The proposed tool accepts as input the web application under test, instruments it, and performs static analysis to compute the definition-use pairs. The proposed GA conducts its search by constructing new test data from previously generated test data that are evaluated as effective test data. In this GA, the chromosome is a collection of user interface control objects, where each control is considered as a gene. Therefore, novel crossover and mutation operators are developed to manipulate the chromosome, which are called block crossover and control-based mutation operators. The proposed GA accepts as input the instrumented version, the list of definition-use pairs to be covered, and input controls related information. The tool produces a set of test cases, the set of definition-use pairs covered by each test case, and a list of uncovered definition-use pairs, if any. Also the paper presents a case study to illustrate how the tool works. Finally, it presents the results of the empirical evaluation that is performed to evaluate the effectiveness of the generated test data in exposing web application errors.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2020 Copyright International Association of Engineers. |
Keywords: | Software testing; Data Flow Testing; Automatic test data generation; Automated Testing Tool; Web Applications Testing |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 21 Jun 2021 09:42 |
Last Modified: | 21 Jun 2021 09:42 |
Published Version: | http://www.iaeng.org/IJCS/issues_v47/issue_3/IJCS_... |
Status: | Published |
Publisher: | IAENG - International Association of Engineers |
Refereed: | Yes |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:175046 |