Home // ICSEA 2014, The Ninth International Conference on Software Engineering Advances // View article
Automatic Unit Test Generation and Execution for JavaScript Program through Symbolic Execution
Authors:
Hideo Tanida
Guodong Li
Indradeep Ghosh
Tadahiro Uehara
Keywords: JavaScript, test generation, symbolic execution, stub generation.
Abstract:
JavaScript is expected to be a programming language of even wider use, considering demands for more interactive web/mobile applications. While reliability of JavaScript code will be of more importance, testing techniques for the language remain insufficient compared to other languages. We propose a technique to automatically generate high-coverage unit tests for JavaScript code. The technique makes use of symbolic execution engine for JavaScript code, and stub/driver generation engine which automatically generate stub for code of uninterest. Our methodology allows for fully automatic generation of input data for unit testing of JavaScript code with high coverage, which ensures quality of target code with reduced effort.
Pages: 259 to 265
Copyright: Copyright (c) IARIA, 2014
Publication date: October 12, 2014
Published in: conference
ISSN: 2308-4235
ISBN: 978-1-61208-367-4
Location: Nice, France
Dates: from October 12, 2014 to October 16, 2014