qa-api-testing-contracts

Solid

API contract testing across REST, GraphQL, and gRPC. Use when you need schema validation, breaking-change detection, and CI quality gates.

Testing & QA 80 stars 17 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
64
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# QA API Testing and Contracts Use this skill to turn an API schema into enforceable checks (lint, diff, contracts, and negative/security cases) and wire them into CI so breaking changes cannot ship silently. ## Ask For Inputs - API type and canonical schema artifact (OpenAPI 3.1, SDL, proto) and where it lives in-repo. - Environments, auth method(s), and how to provision stable test identities/keys. - Critical endpoints/operations and business flows (rank by risk and revenue impact). - Data constraints (idempotency keys, pagination, ordering), rate limits, and error format (prefer RFC 7807 `application/problem+json` for REST). - Versioning + deprecation policy, consumer inventory, and release cadence. - Current test tooling/CI and what “blocking” means for your org. ## Outputs (What to Produce) - A minimal CI gate set (lint + breaking diff + contract suite) wired to PRs. - A coverage map derived from the schema (critical operations first). - A negative/security baseline aligned to OWASP API risks. ## Quick Start 1. Lint the schema (syntax + best-practice rules) and fix issues before writing tests. 2. Add breaking-change checks against the base branch on every PR. 3. Pick a contract strategy (CDC, schema-driven, or both) and run it in CI against an ephemeral environment. 4. Add negative/security cases for auth, validation, and error handling. 5. Make gates explicit (what blocks merge/release) and publish results. ## Workflow ### 1) Establish Contract Artifacts (Sourc...

Details

Author
vasilyu1983
Repository
vasilyu1983/AI-Agents-public
Created
9 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category