pub fn compare_or_save_testdata_with_config<T>(
filename: &str,
output: &T,
config: TestdataConfig,
)
Expand description
Compares or saves the execution output to a testdata file with custom configuration.
This is a more flexible version of compare_or_save_testdata
that allows
specifying a custom testdata directory.
ยงArguments
filename
- The name of the testdata file, relative to the testdata directoryoutput
- The execution output to compare or saveconfig
- Configuration for the test data comparison