sdcorejs-testing-philosophy
CommunityTest what matters, not internals.
Software Engineering#testing#integration testing#unit testing#e2e testing#test pyramid#mocking strategy#behaviour driven testing
Authorsdcorejs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents weak or misleading test strategies by defining cross-track testing principles: test pyramid ratios, what to mock versus hit, when to write tests, and how to validate behavior instead of implementation.
Core Features & Use Cases
- Test pyramid guidance: recommends Unit/Integration/E2E ratios and what each layer must cover for speed vs confidence.
- Mocking vs hitting rules: clarifies which dependencies to mock (external services) and which to integrate (your owned DB/routers).
- When to write tests: supports TDD (before code), test-as-you-build (during), and diff-scoped tests (after) with anti-patterns to avoid.
- Arrange-Act-Assert structure and naming: enforces readable tests that express verified behavior and outcomes.
- Behaviour vs implementation: discourages brittle assertions on private methods and internal state shape.
Quick Start
Use the sdcorejs-testing-philosophy skill when planning tests for a new feature so the test plan matches the intended behaviour, layer, and mocking boundaries.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sdcorejs-testing-philosophy Download link: https://github.com/sdcorejs/sdcorejs-agent/archive/main.zip#sdcorejs-testing-philosophy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.