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.

Testing conventions for a TypeScript team v1.0.0

Use this resource to write reliable tests for a TypeScript application

New

  • 451 downloads
  • 189 likes
  • 106 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install testing-conventions-vitest-playwright

First time: connect the CLI with

npx --yes palatekit@latest login

The prompt lists rules, each with a confidence score: behaviour-named tests, mocks only at process boundaries, a real Postgres in Testcontainers, selection by role in the UI and no sleeps. You get a framework to give an agent before it writes a test suite.

Mostly picked by

Updated November 2, 2026

Card for the “Testing conventions for a TypeScript team” prompt

Details

Generates with
Your agent's model
Licence
CC0-1.0

Similar resources

View all

What you get

  • The full prompt, ready to paste
  • Rules on mocks, test data, end-to-end tests and flaky tests

Good fit for

  • Cleaning up a test suite that fails at random
  • Writing the first tests of a project that has none

Not for

    Tags

    • tests
    • vitest
    • playwright

    About

    You say

    “Write the tests for this cart service following these rules, with a real Postgres database.”

    Card for the “Testing conventions for a TypeScript team” prompt

    Prompt published by f under the CC0-1.0 license, delivered in its original version.

    Show more

    How to use it

    1. Paste the prompt into your assistant or agent
    2. Ask it to write reliable tests for a TypeScript application
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE0.6 KB
    • NOTICE-PALATEKIT.md0.4 KB
    • testing-conventions-vitest-playwright.md1.9 KB

    Origin and licence

    Listed unmodified

    Author
    f
    Source
    github.com/f/prompts.chat/blob/cecef6fc73c2c389770695a56252d331981727de/prompts.csv
    Licence
    CC0-1.0

    Notice

    « Testing taste » (f, CC0-1.0) 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.