Skip to content
Test logging behavior in unit tests
Branch: master
Clone or download
Latest commit 5e631a1 Feb 18, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add null check and remove whitespace Feb 18, 2017
.gitignore Initial commit: Write a simple test to verify logging behavior. Feb 18, 2017
pom.xml Initial commit: Write a simple test to verify logging behavior. Feb 18, 2017
readme.md Add readme Feb 18, 2017

readme.md

Unit test logging example

This repository shows an example of how to setup unit tests for logging. Sometimes unit testing log statements is required when the logging is a business requirement.

For a more extensive explanation, see http://3ldn.nl/2017/02/18/unit-testing-log-statements/

You can’t perform that action at this time.