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.

TDD: London (mocks) and Chicago (state) schools v1.0.0

Use this resource to choose between mock-based and state-based tests depending on the code

New

  • 378 downloads
  • 201 likes
  • 119 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install tdd-mock-versus-state-style

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

The agent applies the red, green, refactor cycle, picks the school that fits (state for pure logic, mocks for external dependencies) and flags pitfalls such as mocking internal details. It often recommends a mixed approach.

Mostly picked by

Updated November 2, 2026

Card for the “TDD: London (mocks) and Chicago (state) schools” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: TDD cycle, school comparison and mixed approach
  • SKILL.md: common pitfalls such as over-mocking

Good fit for

  • Your tests break on every internal refactor
  • A service depends on several external APIs that need simulating

Not for

    Tags

    • tdd
    • mocks
    • refactoring
    • tests

    About

    You say

    “Write the test for this orders service and tell me whether it needs mocks or should check state.”

    Card for the “TDD: London (mocks) and Chicago (state) schools” skill

    Skill published by proffesor-for-testing 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 choose between mock-based and state-based tests depending on the code
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • schemas/output.json11.2 KB
    • scripts/validate-config.json0.7 KB
    • SKILL.md8.1 KB

    Origin and licence

    Listed unmodified

    Author
    proffesor-for-testing
    Source
    github.com/proffesor-for-testing/agentic-qe/tree/b177b2315521376b83f2eed40e4994fd7581d067/assets/skills/tdd-london-chicago
    Licence
    MIT

    Notice

    « tdd-london-chicago » (proffesor-for-testing, 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.