Contract-based testing for PHP with Praspel - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Journal of Systems and Software Année : 2018

Contract-based testing for PHP with Praspel

Résumé

We summarize several contributions related to the PHP Realistic Annotation and SPEcification Language (Praspel). This language extends PHP programs with annotations for the formal specification of the behavior of their functions and for the declaration of types for their data. These contracts are used to automate test generation, by deriving test cases and test data, and test execution, by checking assertions at run-time in order to establish the test verdict. Our approach to contract-based testing for PHP is fully implemented into a PHP framework currently in use by several web companies.
Fichier non déposé

Dates et versions

hal-02129724 , version 1 (15-05-2019)

Identifiants

  • HAL Id : hal-02129724 , version 1

Citer

Frédéric Dadeau, Alain Giorgetti, Fabrice Bouquet, Ivan Enderlin. Contract-based testing for PHP with Praspel. Journal of Systems and Software , 2018, 136, pp.209 - 222. ⟨hal-02129724⟩
35 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More