Title :
Tool for generating test module for JavaScript based on statement coverage criteria
Author :
Janthong, Pannawat ; Suwannasart, Taratip
Author_Institution :
Dept. of Comput. Eng., Chulalongkorn Univ., Bangkok, Thailand
Abstract :
JavaScript is the most popular language for client-side web application development. Some open-source tools provide frameworks for building JavaScript automation test. Developers can create and maintain automate test scripts with these tools. However, they will waste a lot of time to create and maintain test scripts because these are manual activities. This research presents a tool for generating unit test modules for JavaScript to meet statement coverage criteria. The tool can generate test cases by analyzing and instrument source code, generate test cases with random data based on type of parameters, execute the test cases, evaluate coverage, regenerate as well as re-execute until it reaches a target level of statement coverage, and then provide coverage report.
Keywords :
Java; program testing; public domain software; JavaScript automation test; client-side Web application development; open-source tools provide frameworks; statement coverage criteria; unit test module generation; Automatic Testing; JavaScript; Software Testing;
Conference_Titel :
Computer Science and Software Engineering (JCSSE), 2014 11th International Joint Conference on
Conference_Location :
Chon Buri
Print_ISBN :
978-1-4799-5821-4
DOI :
10.1109/JCSSE.2014.6841890