Skip to content

Document the test item id format - #4

Draft
davidanthoff wants to merge 1 commit into
mainfrom
docs-ids
Draft

Document the test item id format#4
davidanthoff wants to merge 1 commit into
mainfrom
docs-ids

Conversation

@davidanthoff

Copy link
Copy Markdown
Member

Ids appear in --results-json and --junit-xml and were documented nowhere.

Covers what the parts of MyPkg@a1b2c3d4/test/parsing_tests.jl::parses floats mean, that ids are stable under editing, and the property that makes them useful across runs: identical in a dev checkout and on a CI runner, and identical on Windows and Linux.

Also states the limit plainly — an id identifies a test item within its package, not within a workspace. Two checkouts of the same package produce the same id, deliberately, since they differ only by location and location differs between a developer's machine and CI. The file path is what distinguishes them, in the console output, the uri field of the JSON results, and the JUnit classname.

One clarification while I was there: the progress output shows test/test_parsing.jl:parse basics, which is a display form and not an id. That reads confusingly now that real ids exist, so it is called out.

Follows julia-vscode/JuliaWorkspaces.jl#257, which introduced the format. VitePress builds clean, dead-link check included.

🤖 Generated with Claude Code

Ids appear in the results JSON and the JUnit XML and were documented nowhere.
Covers what the parts mean, that they are stable under editing, and that an id
identifies a test item within its package rather than within a workspace — so
two checkouts of one package share an id, and it is the file path that
distinguishes them.

Also flags that the `path:name` shown in progress output is a display form
rather than an id, which reads confusingly now that real ids exist.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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