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 GUI test coverage #42018
A-testsuiteArea: The testsuite used to check the correctness of rustcC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCE-help-wantedCall for participation: Help is requested to fix this issue.S-tracking-needs-summaryStatus: It's hard to tell what's been done and what hasn't! Someone should do some investigation.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Since we now have a more complete way to compare two HTML contents, I think we can now strongly reinforce rustdoc's tests (which are a bit weak and lacking for now).
One thing i'd like to see (that will probably need cooperation from some rustbuild compiletest experts) is the ability to test the stdout-printing behavior of rustdoc in various situations. We don't have UI tests for rustdoc the same way the compiler does, so right now there's no place for these in the testing setup.
Triage: #70533 was superseded by #79979 which has been merged. @GuillaumeGomez can this be closed? If not, we should probably add more detail to what kind of tests need to be added since this issue is not very actionable right now.
Still far from done unfortunately. Please keep it open. As for the kind of tests, it's GUI ones. But being more precise is a bit complicated as we're still changing the front-end quickly for the moment.
A-testsuiteArea: The testsuite used to check the correctness of rustcC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCE-help-wantedCall for participation: Help is requested to fix this issue.S-tracking-needs-summaryStatus: It's hard to tell what's been done and what hasn't! Someone should do some investigation.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Activity
[-]Add a shitload of tests to rustdoc[/-][+]Add (a lot of) tests to rustdoc[/+]QuietMisdreavus commentedon Nov 4, 2017
Some ideas:
src/librustdoc/html/markdown.rsalready has a#[cfg(test)]block, but it doesn't test the "hide lines of code with#" behavior.src/librustdoc/test.rscould use some tests to verify how it adds attributes to the test, whether it wraps tests in afn main(), things like that.Rollup merge of rust-lang#48095 - QuietMisdreavus:doctest-assembly, r…
Rollup merge of rust-lang#48095 - QuietMisdreavus:doctest-assembly, r…
QuietMisdreavus commentedon Mar 19, 2018
One thing i'd like to see (that will probably need cooperation from some
rustbuildcompiletest experts) is the ability to test the stdout-printing behavior of rustdoc in various situations. We don't have UI tests for rustdoc the same way the compiler does, so right now there's no place for these in the testing setup.camelid commentedon Oct 12, 2020
ping: Is this still an issue?
GuillaumeGomez commentedon Oct 12, 2020
Still waiting on #70533.
rylev commentedon Jun 17, 2021
Triage: #70533 was superseded by #79979 which has been merged. @GuillaumeGomez can this be closed? If not, we should probably add more detail to what kind of tests need to be added since this issue is not very actionable right now.
GuillaumeGomez commentedon Jun 17, 2021
Still far from done unfortunately. Please keep it open. As for the kind of tests, it's GUI ones. But being more precise is a bit complicated as we're still changing the front-end quickly for the moment.
[-]Add (a lot of) tests to rustdoc[/-][+]rustdoc: Tracking issue for heavily increasing the GUI test coverage[/+]GuillaumeGomez commentedon Nov 5, 2026
We now have a full GUI testsuite so can be closed.