2019-08-23 API contract testing with Dredd
Channel: Ryan Harrison
Date: 2020-06-12

First, we show two examples of gotchas that would have been caught by API contract testing. Next, we overview the major API contract standards: Swagger/OAS(OpenAPI Spec), RAML and Blueprint. We show examples of generating documentation from API spec with widdershins and swagger-ui. Finally, we demonstrate the open-source API contracting testing tool Dredd (https://github.com/apiaryio/dredd) and debate tying the API contract directly to application controllers, i.e. the API contract IS the route.


Slides: https://www.slideshare.net/RyanMHarrison/20190823-api-contract-testing-with-dredd