Skip to content
项目

lirantal/awesome-contract-testing

在 GitHub 查看

关于

Awesome resources for Consumer-Driven Contract Testing

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文


A curated list of awesome resources for Consumer-Driven Contracts Testing

Awesome

List inspired by the awesome list thing.


Table of Contents

SDKs and Frameworks

Node.js

JavaScript

  • PACT JavaScript - JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems

Java

  • PACT JVM - JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
  • KARATE - Testing framework. Allows execution of API Tests and API Test-Doubles, which makes it possible to implement consumer driven contracts in Java and other languages.
  • BitDive - Zero-code contract testing for Java/Kotlin. Captures real API traffic, auto-generates mocks from production behavior, and verifies API contracts through replay.

Ruby

  • PACT Ruby - Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

PHP

  • PACT PHP - PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
  • Gesso - OpenAPI contract testing for PHP. Provider-side (spec-driven) contract testing with PHPUnit coverage, request/response validation, fuzzing, and drift detection. Adapters for Laravel, Symfony, Pest, and PSR-7.

Python

  • DriftWire - Detect API contract drift: validate a live API against its OpenAPI spec, or diff two spec versions for breaking changes.
  • PACT Python - Python version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
  • Specmatic Python - Python wrapper of Specmatic.

Go

  • PACT Go - Golang version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.

.NET

  • PACT Net - C# version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
  • com-pact - Another approach on creating Pact for .NET. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.

Educational

Articles

Workshops

  • Pact.js E2E - The Pact.js repository has an End-to-End example that is made up of a Consumer, Provider and the Pact Broker for sharing and validating the contracts.
  • Pact Workshop JS - Step by Step Pact workshop.
  • Specmatic Labs - Contains all the Labs used during the Specmatic hands-on Workshop.

Contributing

Found an awesome project, package, article, other type of resources related to Node.js Security? Send me a pull request! Just follow the guidelines. Thank you!


say hi on Twitter

License

CC0

探索相关项目

加载中…