
unit-test-wiremock-rest-api
Provides patterns for unit testing external REST APIs using WireMock
by giuseppe-trisciuoglioFree
Description
unit-test-wiremock-rest-api is an agent skill from the developer-kit collection for unit testing code that calls external REST APIs, using WireMock. It shows how to stub API responses so a test is predictable, verify the details of the requests the code sends, such as headers, query parameters and request bodies, and simulate failures. The failure cases include timeouts, 4xx and 5xx responses, and malformed responses. Because WireMock serves the stubs locally, the tests run without a network connection to the real service, which keeps them fast and repeatable. Use it when a service you are writing depends on a third-party or internal API and you want to confirm both how it handles a good response and how it copes when the remote side fails. The skill is free. Its page shows about 4.0K installs and 371 GitHub stars for the repository, and its audits show Gen Agent Trust Hub, Socket and Snyk all at Pass.…
Highlights
- Stub external API responses with WireMock
- Verify request headers, query params and bodies
- Simulate timeouts, 4xx and 5xx errors
- Malformed response handling tests
- Tests run without the network
Ratings & Reviews
No ratings yet
Be the first to rate unit-test-wiremock-rest-api.
People also visit
unit-test-wiremock-rest-api FAQ
What does the unit-test-wiremock-rest-api skill do?
It helps an agent write tests for services that call external REST APIs, using WireMock stubs for responses and failures.
Which failures can it simulate?
The page lists timeouts, 4xx and 5xx errors, and malformed responses.
How do I install it?
Run: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-wiremock-rest-api
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best unit-test-wiremock-rest-api alternatives?
Popular alternatives to unit-test-wiremock-rest-api include wiremock-standalone-docker, unit-test-controller-layer and api-tester. See all unit-test-wiremock-rest-api alternatives













