Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

vecbralis/dredd

 
 

Repository files navigation

Dredd — HTTP API Testing Framework

Build Status Dependency Status devDependency Status Coverage Status Join the chat at https://gitter.im/apiaryio/dredd

Dredd - HTTP API Testing Framework

Dredd is a language-agnostic command-line tool for validating API documentation written in API Blueprint format against its backend implementation.

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 Hook Languages

Dredd supports writing hooks — a glue code for each test setup and teardown.

Following languages are supported:

Continuous Integration Support

Installation

$ npm install -g dredd

Note: Dredd works smoothly with Node.js 5, 4, 0.12, 0.10, and io.js v2.5.

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.

About

Language-agnostic HTTP API Testing Framework

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • CoffeeScript 99.3%
  • Other 0.7%