David Dworken
93d2b47f7d
Remove another golden that is actually used
2024-02-10 14:37:49 -08:00
David Dworken
f0ce593ae9
Remove goldens that are actually used
2024-02-10 13:01:30 -08:00
David Dworken
ed22ae6e4f
Swap to using glob to enumerate all golden files, rather than hardcoding them
2024-02-10 10:07:37 -08:00
David Dworken
f4694bdd28
Update golden checker to read all the golden artifacts
2024-02-10 10:05:06 -08:00
David Dworken
d8b9d77213
Add initial work towards checking that all goldens are used
2024-02-09 21:03:09 -08:00
David Dworken
1deb3cffc6
Revert "Remove code that enforces that all goldens are used, since it is incompatible with how tests are currently split into chunks"
...
This reverts commit 06cc3eedbc
.
2024-02-09 21:03:09 -08:00
David Dworken
06cc3eedbc
Remove code that enforces that all goldens are used, since it is incompatible with how tests are currently split into chunks
2024-02-09 20:19:30 -08:00
David Dworken
a3f1282368
Add ability to configure a default filter (for #76 ) ( #161 )
...
* Add ability to configure a default filter (for #76 )
* Add test for color of default filter
* Add basic test for default filter
* Add goldens for tests
* Add more tests for default filters
* Update goldens
* Add another golden
* Update goldens
* Remove debug log
* Add golden to allowlist
* Update goldens
2024-01-07 21:06:22 -08:00
David Dworken
4013726c24
Remove allowlist for goldens that are used
2023-12-29 07:34:27 -08:00
David Dworken
20fce0ef02
Move log.Fatalf call to end so that we log all unused goldens before failing the program
2023-12-29 01:16:55 -08:00
David Dworken
db19d8ebf1
Make unused goldens check in tests more lenient with goldens that are OS-specific
2023-12-28 19:52:39 -08:00
David Dworken
29adbd2372
Add print to go tests to monitor for UNUSED_GOLDENS overuse
2023-12-28 19:45:59 -08:00
David Dworken
cae6113abc
Make unused golden files into an error
2023-12-28 19:33:58 -08:00
David Dworken
5aa2c932fe
Add more golden files that are only referenced sometimes
2023-12-22 08:09:31 -08:00
David Dworken
17b158d4b3
Swap to checking golden usage post-tests so that it covers all golden usages, and not just per-package
2023-12-22 08:04:10 -08:00