Retrofitting OpenAPI documentation to your Rails codebase (12 mins read).
How to take a Rails codebase and introduce OpenAPI documentation and contract tests, in a test-driven manner.
Retrofitting OpenAPI documentation to your Rails codebase (12 mins read).
How to take a Rails codebase and introduce OpenAPI documentation and contract tests, in a test-driven manner.
Setting up OpenAPI Contract Tests with a Rails and RSpec codebase (2 mins read).
How to run OpenAPI-driven contract tests against a Rails API.
This tutorial shows how to reuse the OpenAPI specification to validate requests and responses in a Rails application using the gem Committee.
Introducing a library for OpenAPI contract testing with Go's net/http
package (2 mins read).
Creating a Go library that can verify net/http
handlers implement an OpenAPI contract, for use with testing.
Contract testing allows quality-checking API producer code and API consumer code in isolation. The contract is the authority. This is faster and cheaper than testing a complete producer-consumer integration. Test results offer concrete discussion points when evolving APIs.
Post details
How would you define contract testing?
Kin Lane (he/him/it) (@kinlane)Tue, 29 Mar 2022 22:44 +0000
Kevin Swiber (@kevinswiber)Wed, 30 Mar 2022 00:02 +0000
You're currently viewing page 1 of 1, of 8 posts.