Return
Contract-based testing for PHP with Praspel
DOI:10.1016/j.jss.2017.06.017.png)
Abstract
En 中文
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. (C) 2017 Elsevier Inc. All rights reserved.
Keywords:
PHP
Design by Contract
Annotations
Test generation
AI Summary
Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.
Journal
IF:
4.1
Papers:
5.5K
Citations:
8.4K
Organization
Cited Papers
Study protocol: building an evidence base for epidemiology emergency response, a mixed-methods study
BMJ Open
IF0
no more

