Skip to content

Name fixtures after the issue that found them - #79

Merged
rcasazza merged 1 commit into
mainfrom
docs/fixture-issue-names
Nov 25, 2026
Merged

rcasazza merged 1 commit into
mainfrom
docs/fixture-issue-names

Conversation

@rcasazza

Copy link
Copy Markdown
Member

What changed

AGENTS.md's "Parser fixtures are the test oracle" rule now says: when a parsing bug came from a GitHub issue, end the case's name in tests/fixtures/task-lines.json with the issue number, for example "dates in a callout (#81)".

Why

This comes from the Tasks plugin's test suite, which names test data after the issue that found it. It keeps the reason for each case findable. It applies to new fixtures only; existing ones aren't renamed.

Docs only; nothing changes for users.

🤖 Generated with Claude Code

When a parsing bug comes from a GitHub issue, end the fixture's name with
the issue number, so the reason for each case stays findable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rcasazza
rcasazza merged commit f944566 into main Nov 25, 2026
2 checks passed
@rcasazza
rcasazza deleted the docs/fixture-issue-names branch November 25, 2026 12:13
@rcasazza rcasazza mentioned this pull request Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant