awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
apiaryio avatar

apiaryio/dreddArchived

0
View on GitHub↗
4,224 星标·277 分支·JavaScript·MIT·5 次浏览dredd.org↗

Dredd

Dredd 是一个 HTTP API 合约测试工具和规范验证器。它作为一个自动化测试运行器,验证实时后端服务器的行为是否符合正式的 API 规范文档。

该系统通过将规范定义转换为 HTTP 请求,并将生成的响应与定义的 JSON 模式进行匹配,执行语言无关的 API 测试。此过程确保服务器实现无论使用何种编程语言构建,都能保持与设计合约的一致性。

该工具通过编排外部设置和清理脚本来管理测试生命周期。这些语言无关的钩子(hooks)允许配置测试环境并在各个验证测试之间维护状态。

Features

  • API Contract Testing - Provides automated verification that a live service implementation conforms to a defined API specification such as OpenAPI.
  • API Contract Validation - Compares live HTTP responses against formal API specifications to detect mismatches in data types and structures.
  • Specification-Driven Request Generators - Transforms API specification definitions into actual HTTP requests to test every endpoint and method defined.
  • Response Schema Validators - Validates HTTP response bodies and headers by matching them against the JSON Schema defined in the API contract.
  • Automated API Testing - Automates the full test lifecycle for APIs, including state management via setup and teardown scripts.
  • Language-Agnostic API Testers - Functions as a testing framework that runs HTTP requests against servers regardless of the backend programming language.
  • Language-Agnostic API Testing - Runs automated tests against HTTP interfaces regardless of the programming language used to build the server.
  • Automated Test Runners - Executes API validation suites as an automated runner with custom environment management hooks.
  • API Response Validations - Validates that real server responses comply with the definitions provided in the API specification.
  • Child Process Execution - Spawns and monitors OS-level child processes to execute language-agnostic setup and teardown scripts.
  • Automated Test Execution - Automates the execution of API validation suites with custom lifecycle hooks for environment management.
  • Setup and Teardown Hooks - Executes external scripts as setup and teardown hooks to manage environment state during the test cycle.
  • API Design Tools - CLI tool for validating API documentation against backend implementations.
  • API Specification Tools - Validates API documentation against backend implementations.
  • General API Utilities - Language-agnostic tool for testing HTTP APIs.

Star 历史

apiaryio/dredd 的 Star 历史图表apiaryio/dredd 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Dredd 的开源替代方案

相似的开源项目,按与 Dredd 的功能重合度排序。
  • goldbergyoni/nodejs-testing-best-practicesgoldbergyoni 的头像

    goldbergyoni/nodejs-testing-best-practices

    4,365在 GitHub 上查看↗

    This project is a comprehensive guide and collection of best practices for testing Node.js backend applications. It provides a curated set of patterns and reference examples for writing reliable unit, integration, and component tests. The project distinguishes itself through specific strategies for backend integration, including detailed methods for API contract testing against OpenAPI specifications and shared schemas. It offers specialized guidance on managing message queue testing, focusing on idempotency, resilience, and asynchronous event synchronization. The guide covers a broad range

    JavaScriptbackendbest-practicescomponent-testing
    在 GitHub 上查看↗4,365
  • raml-org/raml-specraml-org 的头像

    raml-org/raml-spec

    3,850在 GitHub 上查看↗

    RAML is a declarative YAML-based specification language used for modeling RESTful interfaces and data structures. It functions as a contract-first API framework and modeling standard, establishing a formal agreement for service communication and a single source of truth before implementation begins. The specification enables the automation of functional mock servers and the generation of language-specific client SDKs directly from the definition files. It supports a modular approach to API design through the use of external libraries, overlays for extending contracts, and reusable traits and

    在 GitHub 上查看↗3,850
  • zalando/connexionzalando 的头像

    zalando/connexion

    4,600在 GitHub 上查看↗

    Connexion is a specification-driven framework for building APIs that automatically maps OpenAPI specifications to application logic. It uses these specifications to automate routing, request validation, and response serialization, linking API operations to backend handler functions via operation IDs. The project differentiates itself by providing a schema-driven mock server that simulates API behavior using example responses from the specification without requiring backend logic. It also includes a dynamic documentation hosting system that translates the API specification into a live interact

    Python
    在 GitHub 上查看↗4,600
  • githublitao/api_automation_testgithublitao 的头像

    githublitao/api_automation_test

    1,666在 GitHub 上查看↗

    This platform serves as a centralized web interface for managing, executing, and reporting on automated API test suites and manual endpoint validation tasks. It provides a comprehensive environment for RESTful service testing, allowing users to organize projects, track team access, and maintain a clear history of execution results to monitor system stability. The platform distinguishes itself by integrating a mock server that generates synthetic responses for API endpoints, enabling client-side development and testing before backend services are fully implemented. It supports complex testing

    JavaScriptapitestdjangopython3
    在 GitHub 上查看↗1,666
查看 Dredd 的所有 30 个替代方案→

常见问题解答

apiaryio/dredd 是做什么的?

Dredd 是一个 HTTP API 合约测试工具和规范验证器。它作为一个自动化测试运行器,验证实时后端服务器的行为是否符合正式的 API 规范文档。

apiaryio/dredd 的主要功能有哪些?

apiaryio/dredd 的主要功能包括:API Contract Testing, API Contract Validation, Specification-Driven Request Generators, Response Schema Validators, Automated API Testing, Language-Agnostic API Testers, Language-Agnostic API Testing, Automated Test Runners。

apiaryio/dredd 有哪些开源替代品?

apiaryio/dredd 的开源替代品包括: goldbergyoni/nodejs-testing-best-practices — This project is a comprehensive guide and collection of best practices for testing Node.js backend applications. It… raml-org/raml-spec — RAML is a declarative YAML-based specification language used for modeling RESTful interfaces and data structures. It… zalando/connexion — Connexion is a specification-driven framework for building APIs that automatically maps OpenAPI specifications to… githublitao/api_automation_test — This platform serves as a centralized web interface for managing, executing, and reporting on automated API test… karatelabs/karate — Karate is a Gherkin API testing framework and JVM test orchestrator designed for API validation, workflow automation,… httprunner/httprunner — HttpRunner is a multi-protocol network testing framework designed for automating functional and regression tests of…