AUTOMATED TEST GENERATOR USING AVM ON SBMT FOR BACKEND WEB APPLICATION

Software testing is important to ensure the quality of the software. Automated test case generation is used to make testing process easier. In previous works, research focus on generating test case using local search algorithm on Searchbased Software Testing (SBST). To increase the quality of the ge...

Full description

Saved in:
Bibliographic Details
Main Author: Chandra Putra, Raymond
Format: Theses
Language:Indonesia
Online Access:https://digilib.itb.ac.id/gdl/view/30270
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Institut Teknologi Bandung
Language: Indonesia
Description
Summary:Software testing is important to ensure the quality of the software. Automated test case generation is used to make testing process easier. In previous works, research focus on generating test case using local search algorithm on Searchbased Software Testing (SBST). To increase the quality of the generated test case, optimization process can be combined with mutation analysis and make new technique called Search based Mutation Testing (SBMT). In previous works, SBMT is implemented for non-web application. Whereas nowadays, web applications are increasingly used. <br /> <br /> <br /> In this work, SBMT is extended to generate test case automatically for backend web application. Alternating Variable Method (AVM) is used as searching method on SBMT. AVM is a form of Hill Climbing that specialize for testing. The transformation of the source code into test object is also the concern of this work. The test object is used as input when generating test cases. <br /> <br /> <br /> Experiment is done by comparing the generated test cases from SBST and generated test cases using mutant (SBMT). The result show that generated test cases using mutant gives higher mutation score compare to generated test cases without mutant with average 12,875 mutation score increased. <br /> <br /> <br /> In this work, a test case generator tool with SBMT has been implemented on backend web application to satisfy branch coverage criteria. In this tool, the process of transforming the source code into test object has been carried out. Validation results indicate that the addition of mutants to the search can improve the quality of the generated test cases. <br />