Dredd — HTTP API Testing Framework
Dredd is a language-agnostic command-line tool for validating API description document against backend implementation of the API.
Dredd reads your API description and step by step validates whether your API implementation replies with responses as they are described in the documentation.
Features
Supported API Description Formats
OpenAPI 2 (formerly known as Swagger)
OpenAPI 3 (experimental, contributions welcome!)
Supported Hooks Languages
Dredd supports writing hooks — a glue code for each test setup and teardown. Following languages are supported:
Didn’t find your favorite language? Add a new one!
Contents
- Installation
- Quickstart
- How It Works
- How-To Guides
- Isolation of HTTP Transactions
- Testing API Workflows
- Making Dredd Validation Stricter
- Integrating Dredd with Your Test Suite
- Continuous Integration
- Authenticated APIs
- Sending Multipart Requests
- Sending Form Data
- Working with Images and other Binary Bodies
- Multiple Requests and Responses
- Using Apiary Reporter and Apiary Tests
- Example Values for Request Parameters
- Removing Sensitive Data from Test Reports
- Usage
- JavaScript API
- Hooks
- Data Structures
- Internals