dc.rights.license | In Copyright | en_US |
dc.creator | Ahmad, Hammad | |
dc.date.accessioned | 2019-06-11T10:17:46Z | |
dc.date.available | 2019-06-11T10:17:46Z | |
dc.date.created | 2019 | |
dc.identifier | WLURG38_Ahmad_CSCI_2019 | |
dc.identifier.uri | http://hdl.handle.net/11021/34534 | |
dc.description | Thesis; [FULL-TEXT FREELY AVAILABLE ONLINE] | en_US |
dc.description | Hammad Ahmad is a member of the Class of 2019 of Washington and Lee University. | en_US |
dc.description.abstract | As 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.extent | 69 pages | en_US |
dc.language.iso | en_US | en_US |
dc.rights | This 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.uri | http://rightsstatements.org/vocab/InC/1.0/ | en_US |
dc.subject.other | Washington and Lee University -- Honors in Computer Science | en_US |
dc.title | Empirically Evaluating Genetic Algorithms For Generating Test Suites For Web Applications (thesis) | en_US |
dc.type | Text | en_US |
dcterms.isPartOf | RG38 - Student Papers | |
dc.rights.holder | Ahmad, Hammad | |
dc.subject.fast | Genetic algorithms | en_US |
dc.subject.fast | Application software -- Testing | en_US |
dc.subject.fast | Computer software -- Testing | en_US |
local.department | Computer Science | en_US |
local.scholarshiptype | Honors Thesis | en_US |