You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test that there are no missing or unexpected golden files
Example output when there is an unexpected file:
```
❯ cabal run lsm-tree-test -- -p "prop_noUnexpectedOrMissingGoldenFiles"
lsm-tree
Test.Database.LSMTree.Internal.Snapshot.Codec.Golden
prop_noUnexpectedOrMissingGoldenFiles: FAIL
*** Failed! Falsified (after 1 test):
Found unexpected files: fromList ["unexpected"]
Delete the unexpected files manually from test/golden-file-data/snapshot-codec
Use --quickcheck-replay="(SMGen 1489992322676650058 4671765810150648345,0)" to reproduce.
1 out of 1 tests failed (0.01s)
```
Example output when there is a missing file:
```
❯ cabal run lsm-tree-test -- -p "prop_noUnexpectedOrMissingGoldenFiles"
lsm-tree
Test.Database.LSMTree.Internal.Snapshot.Codec.Golden
prop_noUnexpectedOrMissingGoldenFiles: FAIL
*** Failed! Falsified (after 1 test):
Missing expected files: fromList ["NominalCredits.A.snapshot.golden"]
Run the golden tests to regenerate the missing files
Use --quickcheck-replay="(SMGen 11771750078239108519 7040896247146249591,0)" to reproduce.
1 out of 1 tests failed (0.01s)
```
0 commit comments