Skip to content

Soften text in test-organization section that says not all code needs to be tested #4403

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jumpnbrownweasel
Copy link

This came up in a URLO discussion:
https://users.rust-lang.org/t/slightly-scary-line-about-testing-binary-crate/130649 and I agreed with the OP that it shouldn't say outright that the code in main doesn't need to be tested.

… to be tested

This came up in a URLO discussion:
<https://users.rust-lang.org/t/slightly-scary-line-about-testing-binary-crate/130649>
and I agreed with the OP that it shouldn't say outright that the code in main doesn't need to be tested.
@danjl1100
Copy link

Would it be helpful to link to the cargo section talking about CARGO_BIN_binary_name env vars here, for use with spawning commands?
I'm not as familiar with the larger context of this section, to know whether this would be too much information.

@jumpnbrownweasel
Copy link
Author

Thanks, that's a good idea. But I don't know either whether it would be too much here.

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.

2 participants