Language-agnostic testing methodology covering AAA pattern, test structure, organization, coverage, property-based testing, test doubles, determinism, fixture-level neutralization of state-dependent branch selection (default-on inheritance, location carve-out plus registered marker, matched positive/negative control), constructed-argv assertion at the lowest subprocess primitive, and real-resolver E2E testing for path-resolver/create side effects
Resources
1Install
npx skillscat add cuioss/plan-marshall/persona-module-tester Install via the SkillsCat registry.
Testing Methodology Skill
REFERENCE MODE: This skill provides reference material. Load specific standards on-demand based on current task.
Language-agnostic testing principles applicable across all technology stacks. Covers test structure, organization, coverage requirements, property-based testing, test doubles, and reliability patterns.
Workflow
Step 1: Load Testing Methodology
Important: Load this standard for any testing work.
Read: standards/testing-methodology.mdCovers AAA pattern, test categories (happy path, parameter variants, corner cases, error conditions), test class organization, naming, data generation, property-based testing, test doubles taxonomy, reliability, and anti-patterns.
Step 2: Load Coverage Standards (As Needed)
Read: standards/testing-coverage.mdUse when: Analyzing test coverage, defining corner cases, improving coverage metrics, boundary value analysis, or testing a classifier whose verdict depends on more than one input axis.
Related
pm-dev-java:junit-core— JUnit 5 testing patternspm-dev-frontend:jest-testing— Jest testing patternspm-dev-java-cui:cui-testing— CUI test generator framework
Code Examples
AAA Pattern
def test_discount_applied_for_premium_user():
# Arrange
user = User(tier="premium")
cart = Cart(items=[Item(price=100)])
# Act
total = cart.checkout(user)
# Assert
assert total == 90 # 10% premium discountStandards Reference
| Standard | Purpose |
|---|---|
| testing-methodology.md | AAA pattern, test structure, naming, organization, property-based testing, test doubles, determinism, foundation-utility CLI testing, constructed-argv assertion at the lowest subprocess primitive, real-resolver E2E testing for path-resolver/create side effects (cross-references plugin-doctor test-conventions rules) |
| testing-coverage.md | Coverage requirements, corner cases, boundary testing, classifier input matrices (cross-product over the axes rather than the diagonal, and the error-result input that discriminates a fail-closed unit) |