Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify what is a UI test #1861

Closed
Arthur-Milchior opened this issue Jan 27, 2024 · 4 comments · Fixed by #1862
Closed

Clarify what is a UI test #1861

Arthur-Milchior opened this issue Jan 27, 2024 · 4 comments · Fixed by #1862

Comments

@Arthur-Milchior
Copy link
Contributor

These are used in ui tests to test whether the expected set of paths exist in the dependency graph.

is found in https://rustc-dev-guide.rust-lang.org/incrcomp-debugging.html

Either UI means User Interface, and I would suggest you clarify how user interfaces are related to this compiler bug.

Or UI means something that is entirely different, and that seems harder to find by searching online for "UI test" or "UI rust", as most answer are related to user interface.

@ChrisDenton
Copy link
Member

This is documented in the testing section. E.g. https://rustc-dev-guide.rust-lang.org/tests/ui.html#introduction

The one line summary in https://rustc-dev-guide.rust-lang.org/tests/compiletest.html states it like so:

ui — tests that check the stdout/stderr from the compilation and/or running the resulting executable

@Arthur-Milchior
Copy link
Contributor Author

Thank you. I fear in the meantime I forgot about it.
May I suggest just adding a link on ui to this page?

@ChrisDenton
Copy link
Member

Yes, adding a link would make sense. Would you be willing to make a pull request?

@Arthur-Milchior
Copy link
Contributor Author

Already done #1862

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 a pull request may close this issue.

2 participants