adapter-contract-testing
CommunityKeep adapters honest with contract testing.
Software Engineering#pytest#contract-testing#software-testing#testing-pattern#adapter-testing#port-testing
Authormartinsson
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Keeps adapters honest by ensuring the same abstract test contract is exercised by both real adapters and simulators, preventing drift when APIs or mock implementations evolve.
Core Features & Use Cases
- Enforces a canonical contract testing pattern across ports/adapters
- Ensures one abstract contract class, two concrete test subclasses, and no simulator-only tests to guarantee coverage
- Facilitates regression safety for ports like SmoobuGateway, RequestMemory, and ReservationCache
Quick Start
Run the contract tests to validate consistency between real adapters and simulators.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adapter-contract-testing Download link: https://github.com/martinsson/checkin-automation/archive/main.zip#adapter-contract-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.