Show simple item record

dc.rights.licenseIn Copyrighten_US
dc.creatorAhmad, Hammad
dc.date.accessioned2019-06-11T10:17:46Z
dc.date.available2019-06-11T10:17:46Z
dc.date.created2019
dc.identifierWLURG38_Ahmad_CSCI_2019
dc.identifier.urihttp://hdl.handle.net/11021/34534
dc.descriptionThesis; [FULL-TEXT FREELY AVAILABLE ONLINE]en_US
dc.descriptionHammad Ahmad is a member of the Class of 2019 of Washington and Lee University.en_US
dc.description.abstractAs web applications increase in popularity, the need for extensively testing the web applications has become greater than ever. Developers are increasingly pressed to ensure that the number of faults in a web application is kept to a minimum to avoid a potential loss in the number of users of the web application. Despite the increasing importance of identifying faults and fixing them, testing web applications continues to be a very time-consuming task. As such, there exists a dire need for automating the process of testing to reveal potential faults. One such approach to testing is the generation of test suites representative of actual user behavior. However, systematic, empirical evaluation of test suites continues to be a largely unexplored area. I propose the use of the genetic algorithm to generate test suites for web applications by first parsing user access logs to create a set of user sessions, and then modeling those user sessions as genes, chromosomes, and genomes to be used by the genetic algorithm to generate test suites representative of user behavior. I also explore the various possibilities with a genetic algorithm approach to generating test suites, and assess what effect tuning various parameters, such as genetic operator thresholds, has on the test suite produced at the end of the evolutionary run. I develop and use a framework to empirically evaluate the cost-effectiveness of the generated test suites output by the genetic algorithm. The framework employs code coverage as an evaluation metric to assess the quality of the generated test suites in particular, and the efficacy of the testing approach in general. I juxtapose the use of the genetic algorithm to generate test suites against another well-known, comparable approach. My results indicate that using the genetic algorithm can decrease the size of the test suite significantly while maintaining most of the testing functionality. In other words, the genetic algorithm can be used to create cost-effective test suites for web applications.en_US
dc.format.extent69 pagesen_US
dc.language.isoen_USen_US
dc.rightsThis material is made available for use in research, teaching, and private study, pursuant to U.S. Copyright law. The user assumes full responsibility for any use of the materials, including but not limited to, infringement of copyright and publication rights of reproduced materials. Any materials used should be fully credited with the source.en_US
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en_US
dc.subject.otherWashington and Lee University -- Honors in Computer Scienceen_US
dc.titleEmpirically Evaluating Genetic Algorithms For Generating Test Suites For Web Applications (thesis)en_US
dc.typeTexten_US
dcterms.isPartOfRG38 - Student Papers
dc.rights.holderAhmad, Hammad
dc.subject.fastGenetic algorithmsen_US
dc.subject.fastApplication software -- Testingen_US
dc.subject.fastComputer software -- Testingen_US
local.departmentComputer Scienceen_US
local.scholarshiptypeHonors Thesisen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record