Awesome Open Source
Awesome Open Source

Dredd — HTTP API Testing Framework

npm version Build Status Build Status Documentation Status Known Vulnerabilities

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.

Supported API Description Formats

Supported Hooks Languages

Dredd supports writing hooks — a glue code for each test setup and teardown. Following languages are supported:

Supported Systems

Installation

$ npm install -g dredd

Quick Start

  1. Create an API Blueprint file called api-description.apib. Follow tutorial at API Blueprint website or just take one of the ready-made examples.

  2. Run interactive configuration:

    $ dredd init
    
  3. Run Dredd:

    $ dredd
    
  4. To see how to use all Dredd's features, browse the full documentation.

Howtos, Tutorials, Blogposts (3rd party)


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (70,351
api (1,733
testing (960
http (929
swagger (375
validation (320
openapi (216
unit-testing (188
cli-app (106
openapi3 (87
integration-testing (65
test-framework (59
tests (44
test-runner (41
testing-framework (37
api-blueprint (23