testing Cursor ruleA

testing from vibeeval/vibecosystem is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add vibeeval/vibecosystem/.cursor/rules/testing.mdc@git:20260330.cd5da78

Pins git:20260330.cd5da78 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
vibeeval/vibecosystem
Path
.cursor/rules/testing.mdc
Versions recorded
1
Latest version
git:20260330.cd5da78, committed Mar 30, 2026
Size
817 bytes
Repository stars
539
License
MIT

TDD workflow and testing standards.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Testing Standards

## TDD Workflow (Required)
1. Write test (RED) - test must FAIL first
2. Minimal implementation (GREEN) - just enough to pass
3. Refactor (IMPROVE) - clean up while tests pass
4. Coverage must be 80%+

## Test Types
- **Unit**: Individual functions, utilities
- **Integration**: API endpoints, database operations
- **E2E**: Critical user flows (Playwright)

## Naming Convention
- Test files: `*.test.ts` or `*.spec.ts`
- Test names: describe what behavior is expected
- Use `describe` for grouping, `it` for individual cases

## Rules
- No `console.log` in tests
- No hardcoded test data -- use factories/fixtures
- Mock external services, not internal modules
- Each test must be independent (no shared state)

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add vibeeval/vibecosystem/.cursor/rules/testing.mdc@sha256:1e149138bc3c6e1f

The line at the top of this page pins the label git:20260330.cd5da78, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tm4ppjuicpbvad45.svg)](https://markdownregistry.com/a/art_tm4ppjuicpbvad45)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Mar 30, 2026.

versioncommittedcommitsizeaudit
git:20260330.cd5da78 latest2026-03-30 cd5da78 817 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (817 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

vibeeval/vibecosystem · 539 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tm4ppjuicpbvad45
GET https://markdownregistry.com/api/v1/resolve?ref=vibeeval/vibecosystem/.cursor/rules/testing.mdc
GET https://markdownregistry.com/api/v1/blob/1e149138bc3c6e1fcc3dfb58aba46548213d79ff11761ac1ec6898452d26ba82

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: Cursor rules vs AGENTS.md · which agent file does what.

More from vibeeval/vibecosystem

agent-development Cursor rule
vibeeval/vibecosystem · .cursor/rules/agent-development.mdc · Rules for creating and editing vibecosystem agent definitions
git:20260330.cd5da78 · audit A · 539 stars
general Cursor rule
vibeeval/vibecosystem · .cursor/rules/general.mdc · vibecosystem core coding standards and quality rules
git:20260412.a904537 · audit A · 539 stars
hook-development Cursor rule
vibeeval/vibecosystem · .cursor/rules/hook-development.mdc · Rules for developing vibecosystem TypeScript hooks
git:20260330.cd5da78 · audit A · 539 stars
security Cursor rule
vibeeval/vibecosystem · .cursor/rules/security.mdc · Security rules for code review and vulnerability prevention
git:20260330.cd5da78 · audit A · 539 stars
skill-development Cursor rule
vibeeval/vibecosystem · .cursor/rules/skill-development.mdc · Rules for creating and editing vibecosystem skills
git:20260330.cd5da78 · audit A · 539 stars
AGENTS.md AGENTS.md file
vibeeval/vibecosystem · AGENTS.md
git:20260808.3b763b1 · audit A · 539 stars
accessibility-patterns SKILL.md skill
vibeeval/vibecosystem · skills/accessibility-patterns/SKILL.md · WCAG 2.2 AA compliance, ARIA patterns, keyboard navigation, screen reader optimization
git:20260412.a904537 · audit A · 539 stars
accessibility-testing SKILL.md skill
vibeeval/vibecosystem · skills/accessibility-testing/SKILL.md · axe-core integration, WCAG 2.2 AA checklist, keyboard navigation testing, screen reader testing, and ARIA pattern…
git:20260314.f0071a0 · audit A · 539 stars
achievements SKILL.md skill
vibeeval/vibecosystem · skills/achievements/SKILL.md · Steam-style achievement system with XP, levels, streaks, and skill trees. Gamifies the development workflow. 25…
git:20260408.85b86f4 · audit A · 539 stars
agent-benchmark SKILL.md skill
vibeeval/vibecosystem · skills/agent-benchmark/SKILL.md · Framework for measuring and tracking agent response quality over time. Detects regressions before they reach…
git:20260328.603ff34 · audit A · 539 stars
agent-context-isolation SKILL.md skill
vibeeval/vibecosystem · skills/agent-context-isolation/SKILL.md · Agent Context Isolation
git:20260314.f0071a0 · audit A · 539 stars
agent-linter SKILL.md skill
vibeeval/vibecosystem · skills/agent-linter/SKILL.md · Agent ve skill dosyalarinin yapisal dogrulamasi. Frontmatter kontrol, naming convention, zorunlu bolum kontrolu…
git:20260405.9b528cf · audit A · 539 stars

Every file in vibeeval/vibecosystem

Other files named testing

testing SKILL.md skill
garrytan/gbrain · skills/testing/SKILL.md · Skill validation framework PLUS daily test-suite health and regression intelligence. Validates skill conformance…
v1.1.0 · audit A · 31,587 stars
testing SKILL.md skill
davepoon/buildwithclaude · plugins/cc-best/skills/testing/SKILL.md · Testing strategies and methodologies including TDD, E2E testing, and multi-framework support
git:20260307.6b5172a · audit A · 3,724 stars
testing SKILL.md skill
live-codes/livecodes · .agents/skills/livecodes/testing/SKILL.md · Write and run automated tests with Jest and Testing Library in the browser. Import code from script editor, use watch…
git:20260914.daf8be4 · audit A · 1,525 stars
testing SKILL.md skill
team-commonly/commonly · fleet-skills/testing/SKILL.md · Testing and code quality context for Jest, React Testing Library, ESLint, and test patterns. Use when writing tests or…
git:20261031.de1e176 · audit A · 1,391 stars
testing Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/testing.mdc · Rules for writing Jest tests in TypeScript
git:20250301.62fad3c · audit A · 926 stars
testing SKILL.md skill
rsmdt/the-startup · plugins/team/skills/development/testing/SKILL.md · Writing effective tests and running them successfully. Covers layer-specific mocking rules, test design principles…
git:20260225.c94494b · audit A · 577 stars
testing SKILL.md skill
oliver-kriska/claude-elixir-phoenix · targets/codex/skills/testing/SKILL.md · Write or repair Elixir tests with ExUnit, sandbox isolation, async; Use
git:20260724.daea640 · audit A · 573 stars
testing SKILL.md skill
oliver-kriska/claude-elixir-phoenix · plugins/elixir-phoenix/skills/testing/SKILL.md · Write or repair Elixir tests with ExUnit, sandbox isolation, async reliability, Mox, ExMachina, and LiveViewTest. Use…
git:20260724.daea640 · audit A · 573 stars

Browse by kind, by grade A, or by owner.