Contract-driven testing of JavaScript code

23Citations
Citations of this article
31Readers
Mendeley users who have this article in their library.
Get full text

Abstract

JSConTest is a tool that enhances JavaScript with simple, type-like contracts and provides a framework for monitoring and guided random testing of programs against these contracts at the same time. Function contracts in JSConTest serve a dual role as specifications of the input/output behavior and as test case generators. Generation of test data for a contract is generally random, but it can be guided by annotations on the contract to achieve higher coverage. Annotations may indicate dependencies among parameters and the result or they may select lightweight program analyses, the results of which influence the choice of test data. A case study substantiates that JSConTest finds type-related errors with high probability. © 2010 Springer-Verlag.

Cite

CITATION STYLE

APA

Heidegger, P., & Thiemann, P. (2010). Contract-driven testing of JavaScript code. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6141 LNCS, pp. 154–172). https://doi.org/10.1007/978-3-642-13953-6_9

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free