testing

Risk-based test strategy with perspective tables, structured case design, and coverage evidence.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "testing" with this command: npx skills add kenoxa/spine/kenoxa-spine-testing

Risk-based test strategy with perspective tables, structured case design, and coverage evidence.

Workflow

  • Classify risk — low, medium, or high based on blast radius and failure cost.

  • Build perspective table — define case IDs and expected behavior before writing tests (required for medium/high risk; recommended for low).

  • Choose test mix — unit for logic branches, integration for boundary contracts, E2E when user flow risk is high.

  • Design cases — equivalence classes, boundary values, failure-mode checks.

  • Implement and run — execute relevant suites, collect coverage evidence.

  • Report — summarize protected behavior, known gaps, commands run, coverage data.

Test Perspective Table

Case ID Input / Precondition Perspective Expected Result

TC-N-01 Valid input Equivalence — normal Success

TC-A-01 Null input Boundary — null Validation error

TC-B-01 Max + 1 Boundary — overflow Validation error

Case ID format: TC-{N|A|B}-{number} (N=normal, A=abnormal, B=boundary). Minimum boundaries: 0 , min, max, ±1 , empty, null.

Risk Heuristics

Risk Test expectations

Low Unit coverage around changed logic + one failure/boundary case

Medium Unit + integration for interaction boundaries; perspective table required

High

  • security/failure-path scenarios, stronger coverage evidence

Coverage Expectations

  • Minimum: 90% branch coverage for changed behavior.

  • Target: 100% for security code, complex business logic, and public APIs.

  • Always report execution command and coverage method.

Anti-Patterns

  • Writing tests that mirror implementation details instead of behavior

  • Vacuous assertions (>= 0 , length >= 0 )

  • Swallowing errors in try/catch instead of asserting and failing fast

  • Sleep-based timing instead of condition-based waits

  • Claiming coverage improvements without execution evidence

  • Skipping the perspective table for medium/high risk changes

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

do-execute

No summary provided by upstream source.

Repository SourceNeeds Review
General

do-commit

No summary provided by upstream source.

Repository SourceNeeds Review
General

do-plan

No summary provided by upstream source.

Repository SourceNeeds Review