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.
Dredd supports writing hooks — a glue code for each test setup and teardown. Following languages are supported:
- Go
- Node.js (JavaScript)
- Perl
- PHP
- Python
- Ruby
- Rust
- Didn't find your favorite language? Add a new one!
$ npm install -g dredd
Create an API Blueprint file called
api-description.apib. Follow tutorial at API Blueprint website or just take one of the ready-made examples.Run interactive configuration:
$ dredd init
Run Dredd:
$ dredd
To see how to use all Dredd's features, browse the full documentation.
- Writing and testing API specifications with API Blueprint, Dredd and Apiary12/04/2017
- Testing an API Against its Documentation11/23/2017
- Keeping Documentation Honest11/21/2017
- Apiary designed APIs tested using Dredd09/20/2017
- Dredd + Swagger for REST API testing01/24/2017
- Testing Your API Documentation With Dredd08/08/2016
- DREDD API Tester works with API Blueprints07/05/2016
- Documentation driven API Development using Laravel, Dredd and Apiary06/21/2016
- Dredd v1.1.0: A Bit Different06/20/2016
- Dredd: Do Your HTTP API Justice01/28/2015
