-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testutils/golden: Add GoldenTracker to track the used golden files
If a test using a golden file gets renamed or removed we don't have any strategy to check if the related golden file(s) got updated as well. To make this possible, add a new struct that allows tests to track their test cases and check if the related golden files are being used, or fail otherwise
- Loading branch information
Showing
1 changed file
with
109 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters