Well-typed generic smart-fuzzing for APIs

Abstract : Despite recent advances in program certification, testing remains a widely-used component of the software development cycle. Various flavours of testing exist: popular ones include unit testing, which consists in manually crafting test cases for specific parts of the code base, as well as QuickCheck-style testing, where instances ofa type are automatically generated to serve as test inputs. These methods of testing can be thought of as internal testing: the test routines need to access the internal representation of the data-structures that are used by the functions under test. They can also be thought of as per-function testing:a test suite is built(by hand, or automatically) for each function that must be tested.We propose a new method of external testing that applies at the level of the module interface. The core of our work is a small embedded domain-specific language to describe APIs, i.e., functions and data-types. Then, these API descriptions are used to drive generation of test-cases.
Type de document :
Communication dans un congrès
ML'14 - ACM SIGPLAN ML Family Workshop, Aug 2014, Göteborg, Sweden. 2014, 〈http://okmij.org/ftp/ML/ML14.html〉
Liste complète des métadonnées

Contributeur : Scherer Gabriel <>
Soumis le : jeudi 18 décembre 2014 - 09:09:45
Dernière modification le : mardi 20 novembre 2018 - 23:06:03
Document(s) archivé(s) le : samedi 15 avril 2017 - 07:22:13


Fichiers produits par l'(les) auteur(s)


  • HAL Id : hal-01094006, version 1



Thomas Braibant, Jonathan Protzenko, Gabriel Scherer. Well-typed generic smart-fuzzing for APIs. ML'14 - ACM SIGPLAN ML Family Workshop, Aug 2014, Göteborg, Sweden. 2014, 〈http://okmij.org/ftp/ML/ML14.html〉. 〈hal-01094006〉



Consultations de la notice


Téléchargements de fichiers