Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Isolating external dependencies in tests v1.0.0

Use this resource to isolate external dependencies in tests and stop real calls

New

  • 391 downloads
  • 105 likes
  • 250 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install dependency-stub-isolation

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

For each dependency the agent chooses between an in-process mock, an HTTP stub with MSW or WireMock, record and replay, Toxiproxy or Testcontainers. It also makes CI fail when a real call escapes the stubs.

Mostly picked by

Updated November 2, 2026

Card for the “Isolating external dependencies in tests” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: decision tree and isolation rules
  • references/msw.md: HTTP stubs with MSW
  • references/wiremock.md: WireMock server and matching rules

Good fit for

  • Your tests call a third-party API and become slow or flaky
  • An SDK update breaks tests even though production has not changed

Not for

    Tags

    • stubs
    • mocks
    • isolation
    • msw
    • wiremock

    About

    You say

    “Replace the calls to the delivery API in my tests with HTTP stubs, and fail CI if a real call leaves.”

    Card for the “Isolating external dependencies in tests” skill

    Skill published by petrkindlmann under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to isolate external dependencies in tests and stop real calls
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/ci.md2.3 KB
    • references/msw.md13.4 KB
    • references/record-replay.md5.1 KB
    • references/testcontainers.md3.2 KB
    • references/toxiproxy.md4 KB
    • references/wiremock.md3.7 KB
    • SKILL.md19.5 KB

    Origin and licence

    Listed unmodified

    Author
    petrkindlmann
    Source
    github.com/petrkindlmann/qa-skills/tree/62434253c2592f27b494609c27f224939c86346d/skills/service-virtualization
    Licence
    MIT

    Notice

    « service-virtualization » (petrkindlmann, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.