You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rustdoc: Tracking issue for heavily increasing the JSON test coverage #81359
Currently, the output of rustdoc's JSON backend has very few tests, which only assure some of the most simple functionality. It would be nice to at least have tests for basic forms of each item, as well as any known issues. A quick list of things not really tested (non-exhaustive):
Impls
Associated Items
Consts/Statics
Extern items (all forms)
Macros
Types
It also would be nice to know the desired layout of the tests. Currently, the directory holds the form
This is slightly different from how normal rustdoc ui tests are structured, but on the other hand HTML output is very different and serves a somewhat different goal. If we want to establish guidelines on the test directory layout, now is a good time to discuss it, before the directories fill up.
changed the title [-][rustdoc-json] Output is currently under-tested[/-][+]rustdoc: Tracking issue for heavily increasing the JSON test coverage[/+]on Oct 10, 2025
Activity
Rollup merge of rust-lang#82571 - aDotInTheVoid:reexport-tests, r=Cra…
Rollup merge of rust-lang#82571 - aDotInTheVoid:reexport-tests, r=Cra…
Rollup merge of rust-lang#82571 - aDotInTheVoid:reexport-tests, r=Cra…
Rollup merge of rust-lang#93660 - aDotInTheVoid:rustdoc-type-tests, r…
Rollup merge of rust-lang#93660 - aDotInTheVoid:rustdoc-type-tests, r…
Rollup merge of rust-lang#93660 - aDotInTheVoid:rustdoc-type-tests, r…
Rollup merge of rust-lang#94861 - aDotInTheVoid:rdj-trait-tests, r=Cr…
14 remaining items
Rollup merge of rust-lang#129123 - aDotInTheVoid:rustdoc-json-self, r…
Rollup merge of rust-lang#129123 - aDotInTheVoid:rustdoc-json-self, r…
Rollup merge of rust-lang#129123 - aDotInTheVoid:rustdoc-json-self, r…
Rollup merge of rust-lang#129123 - aDotInTheVoid:rustdoc-json-self, r…
Rollup merge of rust-lang#129123 - aDotInTheVoid:rustdoc-json-self, r…
Rollup merge of rust-lang#129123 - aDotInTheVoid:rustdoc-json-self, r…
Unrolled build for rust-lang#129123
Rollup merge of rust-lang#133721 - aDotInTheVoid:rdj-dyn-link, r=Guil…
Unrolled build for rust-lang#133721
Rollup merge of rust-lang#138033 - obi1kenobi:pg/json-attrs-tests, r=…
Unrolled build for rust-lang#138033
Rollup merge of rust-lang#138569 - aDotInTheVoid:reprdoc-json, r=Guil…
Rollup merge of rust-lang#138569 - aDotInTheVoid:reprdoc-json, r=Guil…
Rollup merge of rust-lang#138569 - aDotInTheVoid:reprdoc-json, r=Guil…
[-][rustdoc-json] Output is currently under-tested[/-][+]rustdoc: Tracking issue for heavily increasing the JSON test coverage[/+]