[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10283":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":14,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":41,"readmeContent":42,"aiSummary":43,"trendingCount":16,"starSnapshotCount":16,"syncStatus":44,"lastSyncTime":45,"discoverSource":46},10283,"dredd","apiaryio\u002Fdredd","apiaryio","Language-agnostic HTTP API Testing Tool","https:\u002F\u002Fdredd.org",null,"JavaScript",4223,277,1,211,0,59.43,"MIT License",true,false,"master",[23,24,25,5,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"api","api-blueprint","cli-app","http","integration-testing","openapi","openapi-validation","openapi2","openapi3","sjs-team","swagger","test-framework","test-runner","testing","testing-framework","tests","unit-testing","validation","2026-06-12 04:00:49","# Dredd — HTTP API Testing Framework\n\n[![npm version](https:\u002F\u002Fbadge.fury.io\u002Fjs\u002Fdredd.svg)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fdredd)\n[![Build Status](https:\u002F\u002Fcircleci.com\u002Fgh\u002Fapiaryio\u002Fdredd\u002Ftree\u002Fmaster.svg?style=svg)](https:\u002F\u002Fcircleci.com\u002Fgh\u002Fapiaryio\u002Fdredd\u002Ftree\u002Fmaster)\n[![Build Status](https:\u002F\u002Fci.appveyor.com\u002Fapi\u002Fprojects\u002Fstatus\u002Fn3ixfxh72qushyr4\u002Fbranch\u002Fmaster?svg=true)](https:\u002F\u002Fci.appveyor.com\u002Fproject\u002FApiary\u002Fdredd\u002Fbranch\u002Fmaster)\n[![Documentation Status](https:\u002F\u002Freadthedocs.org\u002Fprojects\u002Fdredd\u002Fbadge\u002F?version=latest)](https:\u002F\u002Freadthedocs.org\u002Fprojects\u002Fdredd\u002Fbuilds\u002F)\n[![Known Vulnerabilities](https:\u002F\u002Fsnyk.io\u002Ftest\u002Fnpm\u002Fdredd\u002Fbadge.svg)](https:\u002F\u002Fsnyk.io\u002Ftest\u002Fnpm\u002Fdredd)\n\n![Dredd - HTTP API Testing Framework](docs\u002F_static\u002Fimages\u002Fdredd.png?raw=true)\n\n> **Dredd is a language-agnostic command-line tool for validating\n> API description document against backend implementation of the API.**\n\n- [Documentation][]\n- [Changelog][]\n- [Contributor's Guidelines][]\n\nDredd reads your API description and step by step validates whether your API\nimplementation replies with responses as they are described in the\ndocumentation.\n\n### Supported API Description Formats\n\n- [API Blueprint][]\n- [OpenAPI 2][] (formerly known as Swagger)\n- [OpenAPI 3][] ([experimental](https:\u002F\u002Fgithub.com\u002Fapiaryio\u002Fapi-elements.js\u002Fblob\u002Fmaster\u002Fpackages\u002Fopenapi3-parser\u002FSTATUS.md), contributions welcome!)\n\n### Supported Hooks Languages\n\nDredd supports writing [hooks](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks\u002F)\n— a glue code for each test setup and teardown. Following languages are supported:\n\n- [Go](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-go\u002F)\n- [Node.js (JavaScript)](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-nodejs\u002F)\n- [Perl](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-perl\u002F)\n- [PHP](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-php\u002F)\n- [Python](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-python\u002F)\n- [Ruby](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-ruby\u002F)\n- [Rust](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-rust\u002F)\n- Didn't find your favorite language? _[Add a new one!](https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fhooks-new-language\u002F)_\n\n### Supported Systems\n\n- Linux, macOS, Windows, ...\n- [Travis CI][], [CircleCI][], [Jenkins][], [AppVeyor][], ...\n\n## Installation\n\n```\n$ npm install -g dredd\n```\n\n## Quick Start\n\n1.  Create an [API Blueprint][] file called `api-description.apib`.\n    Follow [tutorial at API Blueprint website][api blueprint tutorial]\n    or just take one of the [ready-made examples][api blueprint examples].\n2.  Run interactive configuration:\n\n    ```shell\n    $ dredd init\n    ```\n\n3.  Run Dredd:\n\n    ```shell\n    $ dredd\n    ```\n\n4.  To see how to use all Dredd's features, browse the\n    [full documentation][documentation].\n\n## Howtos, Tutorials, Blogposts (3rd party)\n\n- [Maintenir à jour sa documentation d'API avec Dredd!](https:\u002F\u002Fblog.itnetwork.fr\u002Fblog-post\u002F2019\u002F05\u002F06\u002Fdredd-partie-1-ecriture-documentation.html) _05\u002F06\u002F2019_\n- [Dredd - Language-agnostic HTTP API Testing Tool - Interview with Honza Javorek](https:\u002F\u002Fsurvivejs.com\u002Fblog\u002Fdredd-interview\u002F) _03\u002F22\u002F2019_\n- [Laravel OpenAPI 3 Documentation Verification Using Dredd](https:\u002F\u002Fcommandz.io\u002Fsnippets\u002Flaravel\u002Flaravel-dredd-openapi-v3\u002F) _02\u002F24\u002F2019_\n- [Testing your API with Dredd](https:\u002F\u002Fmedium.com\u002Fmop-developers\u002Ftesting-your-api-with-dredd-c02e6ca151f2) _09\u002F27\u002F2018_\n- [Writing Testable API Documentation Using APIB and Dredd (Rails)](https:\u002F\u002Fblog.rebased.pl\u002F2018\u002F06\u002F29\u002Ftestable-api-docs.html) _06\u002F29\u002F2018_\n- [Design-first API Specification Workflow Matures](https:\u002F\u002Fphilsturgeon.uk\u002Fapi\u002F2018\u002F03\u002F01\u002Fapi-specification-workflow-matures\u002F) _03\u002F01\u002F2018_\n- [Writing and testing API specifications with API Blueprint, Dredd and Apiary](https:\u002F\u002Fhackernoon.com\u002Fwriting-and-testing-api-specifications-with-api-blueprint-dreed-and-apiary-df138accce5a) _12\u002F04\u002F2017_\n- [Testing an API Against its Documentation](https:\u002F\u002Fdev.to\u002Falbertofdzm\u002Ftesting-an-api-against-documentation-6cl) _11\u002F23\u002F2017_\n- [Keeping Documentation Honest](https:\u002F\u002Fblog.apisyouwonthate.com\u002Fkeeping-documentation-honest-d9ab5351ddd4) _11\u002F21\u002F2017_\n- [Apiary designed APIs tested using Dredd](https:\u002F\u002Fredthunder.blog\u002F2017\u002F09\u002F20\u002Fapiary-designed-apis-tested-using-dredd\u002F) _09\u002F20\u002F2017_\n- [Dredd + Swagger for REST API testing](https:\u002F\u002Fcodeburst.io\u002Fdredd-swagger-for-rest-api-testing-715d1af5e8c5) _01\u002F24\u002F2017_\n- [Testing Your API Documentation With Dredd](https:\u002F\u002Fmatthewdaly.co.uk\u002Fblog\u002F2016\u002F08\u002F08\u002Ftesting-your-api-documentation-with-dredd\u002F) _08\u002F08\u002F2016_\n- [DREDD API Tester works with API Blueprints](http:\u002F\u002Fwww.finklabs.org\u002Farticles\u002Fapi-blueprint-dredd.html) _07\u002F05\u002F2016_\n- [Documentation driven API Development using Laravel, Dredd and Apiary](https:\u002F\u002Fmedium.com\u002Ffrianbiz\u002Fapi-php-pilot%C3%A9e-par-la-doc-3c9eb4daa2aa) _06\u002F21\u002F2016_\n- [Dredd v1.1.0: A Bit Different](https:\u002F\u002Fphilsturgeon.uk\u002Fapi\u002F2016\u002F06\u002F20\u002Fdredd-v1-1-0-a-bit-different\u002F) _06\u002F20\u002F2016_\n- [Dredd: Do Your HTTP API Justice](https:\u002F\u002Fphilsturgeon.uk\u002Fapi\u002F2015\u002F01\u002F28\u002Fdredd-api-testing-documentation\u002F) _01\u002F28\u002F2015_\n\n[api blueprint]: https:\u002F\u002Fapiblueprint.org\u002F\n[api blueprint tutorial]: https:\u002F\u002Fapiblueprint.org\u002Fdocumentation\u002Ftutorial.html\n[api blueprint examples]: https:\u002F\u002Fgithub.com\u002Fapiaryio\u002Fapi-blueprint\u002Ftree\u002Fmaster\u002Fexamples\n[openapi 2]: https:\u002F\u002Fgithub.com\u002FOAI\u002FOpenAPI-Specification\u002Fblob\u002Fmaster\u002Fversions\u002F2.0.md\n[openapi 3]: https:\u002F\u002Fgithub.com\u002FOAI\u002FOpenAPI-Specification\u002Fblob\u002Fmaster\u002Fversions\u002F3.0.0.md\n[documentation]: https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002F\n[changelog]: https:\u002F\u002Fgithub.com\u002Fapiaryio\u002Fdredd\u002Freleases\n[contributor's guidelines]: https:\u002F\u002Fdredd.org\u002Fen\u002Flatest\u002Fcontributing\u002F\n[travis ci]: https:\u002F\u002Ftravis-ci.org\u002F\n[circleci]: https:\u002F\u002Fcircleci.com\u002F\n[jenkins]: https:\u002F\u002Fjenkins.io\u002F\n[appveyor]: https:\u002F\u002Fwww.appveyor.com\u002F\n","Dredd 是一个语言无关的 HTTP API 测试工具，用于验证 API 描述文档与后端实现的一致性。它支持多种 API 描述格式，包括 API Blueprint 和 OpenAPI（2.0 和 3.0），并允许用户使用多种编程语言编写测试钩子，如 Go、Node.js、Perl、PHP、Python、Ruby 和 Rust 等。该工具适用于需要确保 API 实现严格遵循其设计文档的各种开发场景，特别适合集成测试和持续集成环境中的自动化测试流程。Dredd 的跨平台特性使其能在 Linux、macOS 和 Windows 等系统上运行，并且能够无缝集成到 Travis CI、CircleCI、Jenkins 或 AppVeyor 等 CI\u002FCD 平台中。",2,"2026-06-11 03:27:35","top_topic"]