Updates core-principles/design-maturity.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-01-30 11:51:29 +00:00
parent e38c1e382e
commit c07fc4057d
7 changed files with 14 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
# Testing Contract Validation
Every API description (contract) SHOULD be tested against its API implementation. The tests MUST be executed using the [Dredd testing framework](https://github.com/apiaryio/dredd). The Dredd MUST [report the test results to Apiary](https://help.apiary.io/tools/automated-testing/testing-reporter/).
Every API description (contract) using HTTP(S) protocol MUST be tested against its API implementation. The tests MUST be executed using the [Dredd testing framework](https://github.com/apiaryio/dredd). The Dredd MUST [report the test results to Apiary](https://help.apiary.io/tools/automated-testing/testing-reporter/).
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.
(TODO: see Testing and CI/CD Appendix)