api-testing-patterns

Automate API testing patterns for REST, GraphQL, and contract-based testing.

436|78|Updated Sep 11, 2025
One-click install
npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill api-testing-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-testing-patterns
Source: https://github.com/proffesor-for-testing/agentic-qe/tree/main/.claude/skills/api-testing-patterns
Command: npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill api-testing-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive patterns for API testing, including contract testing, REST/GraphQL testing, and integration strategies.

Core Features & Use Cases

  • Contract Testing: Validate providers against consumer contracts.
  • REST/GraphQL Patterns: Coverage for CRUD, pagination, and queries.
  • CI/CD Integration: Schema validation and monitoring for drift.

Quick Start

Design a contract test plan from an OpenAPI spec and implement integration tests around core endpoints.

Frequently Asked Questions about api-testing-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test REST and GraphQL APIs for contract compliance?

Contract testing validates that your API implementation matches consumer expectations by comparing actual responses against agreed contracts. This Skill provides patterns for REST and GraphQL contract validation, including schema verification and consumer-focused assertions across microservices.

What's the best way to set up API testing for CI/CD pipelines?

Integrate automated API tests into CI/CD by validating schemas, checking authentication, and monitoring for contract drift. This Skill covers patterns for REST, GraphQL, and contract-based testing that detect breaking changes before deployment.

How do I test API error handling and edge cases like idempotency?

Comprehensive API testing requires validating error responses, input validation, authentication checks, idempotency guarantees, and concurrency behavior. This Skill provides patterns for all these scenarios across REST and GraphQL endpoints.

Can I use contract testing to prevent API drift in production?

Yes. Contract testing detects when provider APIs diverge from consumer expectations. This Skill includes production monitoring patterns and schema validation strategies to identify and prevent contract drift across microservices.

What should I test when validating external API dependencies?

Test consumer contracts, input and authentication validation, error handling, schema compliance, and idempotency. This Skill provides integration patterns for external dependencies and microservices to ensure robust API interactions.