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

proptest basic validation #6149

Merged
merged 2 commits into from
Oct 8, 2018
Merged

proptest basic validation #6149

merged 2 commits into from
Oct 8, 2018

Conversation

Eh2406
Copy link
Contributor

@Eh2406 Eh2406 commented Oct 6, 2018

This adds a function for testing that the output of the resolver is basically reasonable. This function has the same signature as the function for running the resolver in a test. So it is easy to switch back and forth, depending on the thoroughness vs speed tradeoff. This also adds a proptest/fuzz that runs this validation against arbitrary registry.

cc #6120
Sorry about the cargo fmt.

@rust-highfive
Copy link

r? @matklad

(rust_highfive has picked a reviewer for you, use r? to override)

@Eh2406 Eh2406 changed the title Proptest proptest basic validation Oct 7, 2018
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Oct 8, 2018

📌 Commit 1719e84 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Oct 8, 2018

⌛ Testing commit 1719e84 with merge aa06d7c...

bors added a commit that referenced this pull request Oct 8, 2018
proptest basic validation

This adds a function for testing that the output of the resolver is basically reasonable. This function has the same signature as the function for running the resolver in a test. So it is easy to switch back and forth, depending on the thoroughness vs speed tradeoff. This also adds a proptest/fuzz that runs this validation against arbitrary registry.

cc #6120
Sorry about the cargo fmt.
@bors
Copy link
Collaborator

bors commented Oct 8, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing aa06d7c to master...

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.

6 participants