How the testing crate pairs work
mainThe testing infrastructure for cargo-semver-checks uses pairs of crates to validate lints. Each pair consists of a new crate (the current version being tested) and an old crate (the baseline version).
When a lint is executed, it runs against all crate pairs in the test_crates directory. The resulting output is stored in the ../test_outputs directory and is structured as a map where the keys are the crate pair paths and the values are sorted lists of the query outputs. The output represents the raw results of the query, comparing the new crate against the old baseline.