Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
6885419 | Journal of Systems and Software | 2018 | 14 Pages |
Abstract
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.
Keywords
Related Topics
Physical Sciences and Engineering
Computer Science
Computer Networks and Communications
Authors
Frederic Dadeau, Alain Giorgetti, Fabrice Bouquet, Ivan Enderlin,