Crate symbolic_testutils

Source

Functionsยง

assert_snapshot
Asserts that the given object matches the snapshot saved in the snapshot file. The object is serialized using the Debug trait.
assert_snapshot_plain
Asserts that the given string matches the snapshot saved in the snapshot file. The given string will be used as plain output and directly compared with the stored snapshot.
fixture_path
Resolves the full path to a fixture file.
load_fixture
Loads the fixture file with the given name and returns its contents as String.