github.com/fgrosse/zaptest (go): Package zaptest implements test helpers that facilitate using a zap.Logger in unit tests.  This package is useful when running unit tests with components that use the github.com/uber-go/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.  Package zaptest is also compatible with the github.com/onsi/ginkgo BDD testing framework. Have a look at the zaptest unit tests to see an usage examples.
Keywords: helper|testing|zap