You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #13977 - linyihai:doc-resolver-tests, r=Eh2406
doc: Add README for resolver-tests
### What does this PR try to resolve?
This collect the comments from `@Eh2406` about the resolver-tests and add a README to it.
### How should we test and review this PR?
### Additional information
Maybe Fixed#13319
See #11938 (comment)
This crate aims to test the resolution of Cargo's resolver. It implements a [SAT solver](https://en.wikipedia.org/wiki/SAT_solver) to compare with resolution of Cargo's resolver.
6
+
This ensures that Cargo's dependency resolution is proven valid by lowering to [SAT problem](https://en.wikipedia.org/wiki/Boolean_satisfiability_problem).
7
+
8
+
## About the test
9
+
10
+
The Cargo's resolver is very sensitive to what order it tries to evaluate constraints. This makes it incredibly difficult
11
+
to be sure that a handful of tests actually covers all the important permutations of decision-making. The tests not only needs
12
+
to hit all the corner cases, it needs to try all of the orders of evaluation. So we use fuzz testing to cover more permutations.
0 commit comments