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

New testing style isn't documented #10628

Closed
Tracked by #10635
epage opened this issue May 3, 2022 · 1 comment
Closed
Tracked by #10635

New testing style isn't documented #10628

epage opened this issue May 3, 2022 · 1 comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation C-bug Category: bug

Comments

@epage
Copy link
Contributor

epage commented May 3, 2022

Problem

With cargo-add and #10581, we are getting a new way of testing but its not in the contributing guide

Steps

See docs

Possible Solution(s)

Docs should cover

  • writing new tests
    • multiple bin calls to verify in a test
    • cover .keep files
    • cover curr_dir
  • updating tests

Notes

Blocked on #10626 and #10627 as they will change things up

Version

_No response_cover

@weihanglo
Copy link
Member

We have docs here https://doc.crates.io/contrib/tests/writing.html#ui-tests. I believe this can be closed now. If we have more ideas to enhance, we could reopen or file a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants