unit-test-wiremock-rest-api

Community

Mock external APIs for robust unit tests.

AuthorMassimilianoPili
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables developers to create reliable unit tests for services that interact with external REST APIs by mocking HTTP endpoints, preventing flaky tests and reducing reliance on live services.

Core Features & Use Cases

  • HTTP Stubbing: Define predictable responses for external API calls.
  • Request Verification: Assert that your service makes correct requests to external APIs.
  • Error Scenario Testing: Simulate various error responses (4xx, 5xx) for resilience testing.
  • Use Case: Test a payment processing service's integration with a third-party payment gateway by stubbing successful and failed transaction responses.

Quick Start

Use the unit-test-wiremock-rest-api skill to stub a GET request to '/users/123' with a 200 OK response containing user data.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: unit-test-wiremock-rest-api
Download link: https://github.com/MassimilianoPili/claude-code-config/archive/main.zip#unit-test-wiremock-rest-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.