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

Test suite cross reference #71

Open
nikomatsakis opened this issue Jan 16, 2022 · 1 comment
Open

Test suite cross reference #71

nikomatsakis opened this issue Jan 16, 2022 · 1 comment
Labels
brainstorm Brainstorming how something might work

Comments

@nikomatsakis
Copy link
Member

Ah, that reminds me. A feature I"ve always wanted in rustc is to have better linking of tests to the code they test. Let me try to remember what I had planned...

One thing I wanted was to have "hashtags", so you could put #foo into a test and #foo into the code to link them, and we would report an error if there was a #foo that appeared either only in the code or only in tests.

But I"m wondering now if we could start to compute code coverage reports and maybe even generate a kind of index. Have to think on that one.

@nikomatsakis nikomatsakis added question Further information is requested brainstorm Brainstorming how something might work and removed question Further information is requested labels Jan 16, 2022
@crlf0710
Copy link

crlf0710 commented Feb 5, 2022

It would also be nice if such hashtags can serve documentation translation purposes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorm Brainstorming how something might work
Projects
None yet
Development

No branches or pull requests

2 participants