This is an example application to demonstrate how easily you can employ the Dredd testing tool as part of your API design life cycle.
There is a sample Gist Fox API implementation in the app.js
file. Every time code of the application is modified and the changes are sent to GitHub, they are tested by Dredd in CI against both API Blueprint and OpenAPI 2 (fka Swagger) API description formats. If the implementation doesn't follow description of the API, the CI build fails.
CI | Configuration | Status |
---|---|---|
Wercker | wercker.yml | |
Travis CI | .travis.yml | |
CircleCI | .circleci/config.yml | |
AppVeyor | appveyor.yml | |
Jenkins | Jenkinsfile | N/A |
To learn more about about Dredd, read:
To learn how to use Dredd with your CI, read: