Skip to content

Tweak the test standards skill and project convention - #135

Merged
kahrendt merged 1 commit into
mainfrom
test-standards-behavior-unit
Sep 29, 2026
Merged

kahrendt merged 1 commit into
mainfrom
test-standards-behavior-unit

Conversation

@kahrendt

Copy link
Copy Markdown
Contributor

The Testing standard paired every malformed case with its own Control case and was read as one named test per guard plus one per control. A guard family is now one table-driven test with an accepting row as its control; a branch earns its own test only with its own spec citation or failure mode. Tests assert on outcomes rather than log wording, and reach private state only where nothing observable distinguishes the correct path. The skill checklist flags the same.

The Testing standard paired every malformed case with its own Control
case and was read as one named test per guard plus one per control.
A guard family is now one table-driven test with an accepting row as
its control; a branch earns its own test only with its own spec
citation or failure mode. Tests assert on outcomes rather than log
wording, and reach private state only where nothing observable
distinguishes the correct path. The skill checklist flags the same.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues remain.

Review effort: Lite
Findings: None

What changed in this PR

Updates testing standards to favor table-driven validation tests and behavior-focused assertions.

Changes:

  • Groups related guards with accepting control rows.
  • Discourages brittle log assertions and unnecessary private-state checks.
  • Aligns project conventions with the test-standards skill.
File Description
docs/​conventions.md Updates normative testing conventions.
.claude/​skills/​test-standards/​SKILL.md Aligns the review checklist with those conventions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@kahrendt
kahrendt enabled auto-merge (squash) September 29, 2026 11:56
@kahrendt
kahrendt disabled auto-merge September 29, 2026 11:58
@kahrendt
kahrendt merged commit a4423c9 into main Sep 29, 2026
7 checks passed
@kahrendt
kahrendt deleted the test-standards-behavior-unit branch September 29, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants