WireMock
ELI5 — The Vibe Check
WireMock pretends to be an API so your tests don't need the real thing. Need to test what happens when Stripe returns an error? WireMock fakes it. It's like a stunt double for your external APIs — looks the same from your code's perspective but won't actually charge anyone's credit card.
Real Talk
An HTTP mock server for stubbing and verifying external API interactions in tests. WireMock supports request matching, response templating, fault simulation, record/playback of real API interactions, and can run standalone or embedded in JVM test suites for reliable integration testing.
When You'll Hear This
"WireMock stubs our payment gateway in CI so tests don't hit real Stripe endpoints." / "We recorded real API responses with WireMock and replay them in tests for deterministic results."
Related Terms
Supertest
Supertest lets you test your API endpoints without starting a server. It's like being able to taste-test a restaurant's food without the restaurant actuall
Testcontainers
Instead of mocking your database in tests, Testcontainers spins up a REAL database in a Docker container, runs your tests against it, then throws it away.
Toxiproxy
Toxiproxy sits between your app and its dependencies and makes the connection terrible on purpose. Add 500ms latency? Done. Drop 50% of packets? Sure. It's