SSWConsulting / SSWConsulting/TimePro.Tools
Harness: parity golden filenames key on row index, so mid-table inserts rename snapshots
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3
- Forks
- 0
- Avg merge
- 29m
- Merged PRs (30d)
- 28
Description
Parity goldens under tests/SSW.TimePro.Cli.Integration/Mcp/Goldens/Mcp/Parity are named by row index (e.g. CreateTimesheet.9.cli.json). Inserting a row in McpCliParityTable shifts every later index and produces pure renames of byte-identical snapshots (ten in #70). Key the filename on a stable case id (tool wire name plus a short case slug declared on the row) instead, and migrate the existing files once.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with McpCliParityTable and the parity goldens under tests/SSW.TimePro.Cli.Integration/Mcp/Goldens/Mcp/Parity. Trace how each row currently produces names such as CreateTimesheet.9.cli.json, then update the naming to use the declared stable case id and migrate the existing files once. Done means mid-table inserts no longer rename byte-identical snapshots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100