-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mock log.Fatalf calls and add test suite (#2437)
* Add unit test for outputConfig * Fix PR comments * Use outputter struct with count instead of separate global vars * Add unit test for outputConfig * Fix PR comments * Use outputter struct with count instead of separate global vars * Fix linter comment * Update tools/config-generator/testgrid_config.go Co-authored-by: Matt Moore <[email protected]> * Fix PR comments * address PR comments * Make log.Fatalf function replaceable for testing * add unit tests for utils * Unit tests now call SetupForTesting() Co-authored-by: Matt Moore <[email protected]>
- Loading branch information
1 parent
b322017
commit c00f02b
Showing
7 changed files
with
374 additions
and
29 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
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
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
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
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
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
Oops, something went wrong.