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.
api-blueprint dredd swagger api testing http tests openapi openapi-validation validation sjs-team test-runner unit-testing integration-testing testing-framework test-framework cli-app test documenation integration acceptanceGoodman is a Dredd hook handler implementation in Go. The API may change, please Vendor this library. The hooks.Server struct provides the following methods to hook into the following dredd transactions: before, after, before_all, after_all, before_each, after_each, before_validation, and before_each_validation. The before, before_validation and after hooks are identified by transaction name.
dredd-hooks dreddThis is an example application to demonstrate how easily you can employ the Dredd testing framework as part of your API design life cycle. There is a sample Gist Fox API implementation in the app.js file. Every time code of the application is changed and the changes are sent to GitHub, they are tested by Dredd in CI against both API Blueprint and Swagger API description formats. If the implementation doesn't follow description of the API, the CI build would fail.
dredd api-blueprint swagger example scaffold skeleton sjs-teamYou can see all the available versions at PyPI. Module dredd_hooks defines following decorators before, after, before_all, after_all, before_each, after_each, before_validation, before_each_validation. before, before_validation and after hooks are identified by transaction name.
dredd dredd-hooks sjs-teamSee also the official Hooks documentation. Releases are commented to provide a brief change log, details can be found in the CHANGELOG file.
dredd dredd-hooks sjs-teamDredd Transactions library compiles HTTP Transactions (simple Request-Response pairs) from API description document. Note: To better understand emphasized terms in this documentation, please refer to the Glossary of Terms. All data structures are described using the MSON format.
dredd swagger api-blueprint http-transactions sjs-team api test testing documenation integration acceptanceGavel detects important differences between actual and expected HTTP transactions (HTTP request and response pairs). Gavel also decides whether the actual HTTP transaction is valid or not. Examples are made in raw HTTP to focus on implementation independence.
gavel cucumber gherkin bdd test-suite dredd validation http-transactions http sjs-team behavior specification documentation diff feature request responseGavel detects important differences between actual and expected HTTP transactions (HTTP request and response pairs). Gavel also decides whether the actual HTTP transaction is valid or not.
gavel http-transactions validation http dredd sjs-team diff request responseThis gem provides a Dredd runner and a dredd rake task to make API blueprint testing convenient for Rack applications. When verifying blueprints locally, an application server is automatically set up, without need of any manual intervention. Besides being convenient, that allows to use the API blueprints as acceptance test suites to practice BDD with Dredd and RSpec, for example, while clients developers use Apiary as a mock server.
dredd api-blueprint rack rails testing-tools dredd-hooksdredd-hooks-php can be easily installed through the use of Composer. Very Important Please make sure the closure passed to any Dredd\Hooks method uses a reference for the $transaction variable!! This is necessary so that the $transaction variable does not need to be returned from the closure in order to persist changes to the variable in the closure's local scope.
dredd dredd-hooks
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.