Hey I just released a small package on github that helps to use a github.com/uber-go/zap logger in unit tests.
This package is useful when running unit tests with components that use the zap logging framework. In unit tests we usually want to suppress any logging output as long as the tests are not failing or they are started in a verbose mode.
zaptest is very focused on this single task and thus is quite small and considered complete. Have a look at the github repo to see some example usage.
I made this because I needed this functionality in unit tests for my own private projects. At work I already implemented similar test helpers but without the additional support for ginkgo tests.
Hope this might be helpful for somebody else as well