pub trait TestCommand { }Available on crate feature
test only.Expand description
Command executed during snapshot testing in TestConfig to reproduce a snapshot.
Two provided implementations are:
ShellOptions, which reproduces snapshots based onUserInputs and the provided shell. Used inTestConfig::test()and related lower-level methods.(), which requires a capturedTranscript, i.e., delegates reproduction to the user code. Used inTestConfig::test_captured().
The contents of this trait are implementation details.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.