Files
api-guidelines/core-principles/testing.md
apidesigner c28e983cc1 Updates core-principles/testing.md
Auto commit by GitBook Editor
2017-01-30 11:10:20 +00:00

584 B

Testing /Contract Validation/

Every API description (contract) SHOULD be tested against its API implementation. The tests MUST be concluded using the Dredd testing framework. The Dredd MUST report the test results to Apiary.

In addition to local runs, the tests SHOULD be an integral part the API implementation's CI/CD pipeline. The CI/CD pipeline SHOULD be configured to run the test whenever there is a change to either API description (contract) or its implementation.