A practical survey of automatic unit test generation for JavaScript applications
Ringbom, Niclas (2023)
Ringbom, Niclas
2023
Julkaisu on tekijänoikeussäännösten alainen. Teosta voi lukea ja tulostaa henkilökohtaista käyttöä varten. Käyttö kaupallisiin tarkoituksiin on kielletty.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi-fe20231115147022
https://urn.fi/URN:NBN:fi-fe20231115147022
Tiivistelmä
Unit testing can and should be used during the software development lifecycle in order to continually verify that each component functions according to specifications. However, development hours are often more preferably used to create additional features, rather than ensure that the existing features are functioning properly. Automatic unit test generators could provide the test suites, which would spare the developer from exhausting development hours on writing exhaustive unit tests without jeopardizing the quality of the software. Several unit test generators exist for other programming languages such as Java, but few seem to support Javascript. The purpose of this thesis is to evaluate the availability and performance of automatic unit test generators for Javascript. Most of the tools found had not been updated for several years, and as such, were unusable. Out of the two seemingly capable tools, Ponicode was removed from the public market, and Examin generated test suites averaging a line coverage of 30.19%. As such, unit test generators for Javascript are not advanced enough to replace manual test writing