Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

Platform Testing

Framework-agnostic testing principles. Extends core-coding-standards with test-specific patterns. Use when writing, reviewing, or debugging tests.

majiayu000 ad05913 2 files · 1.4 KB Updated 567 repo stars

File contents

Principles

  • Test behavior, not implementation details
  • Prefer integration tests over unit tests (Testing Trophy)
  • Arrange-Act-Assert (AAA) pattern in every test
  • Tests must be independent — no shared mutable state
  • Keep tests small and focused — one behavior per test
  • Name tests to describe the behavior being verified
  • Optimize for confidence, not coverage percentage
  • Don't chase 100% coverage — test what matters

Rules

See rules/ for detailed patterns.

majiayu000/claude-skill-registry-data/tree/main/data/platform-testing commit ad059135dd

Frequently asked questions

npx skillmds add majiayu000/platform-testing