Crate cargo_difftests

Source

Modules§

analysis
This module contains the AnalysisContext type, which is used to perform the analysis of a difftest, or a test index.
analysis_data
Profiling data, deserialized from llvm-cov export JSON.
bin_context
difftest
Holds the Difftest struct and related functions.
index_data
Holds the TestIndex struct, and logic for indexing CoverageData into a TestIndex.
test_rerunner_core

Macros§

cargo_difftests_test_rerunner

Structs§

AnalyzeAllSingleTest
When using analyze-all, the output is a JSON stream of type Vec<AnalyzeAllSingleTest>.
IndexCompareDifferences
A list of differences between two indexes.

Enums§

AnalysisVerdict
An analysis verdict.
DifftestsError
Errors that can occur when running cargo difftests.
TouchSameFilesDifference
A difference between two indexes, given by comparing the list of files that the Difftests they come from touched.

Functions§

compare_indexes_touch_same_files
Compares two indexes, returning an error consisting of their deltas if they are different, or Ok if they are the same.

Type Aliases§

DifftestsResult