How to Test Logging in Java

preview_player
Показать описание
Testing logging statements in java might at first seem tricky, but is actually really simple. In this video we will look at how to test logging statements in a Java application.

Article on How to Test Logging Statements in a Parallel Test Environment:
Рекомендации по теме
Комментарии
Автор

Hi, I tried this out, but was unable to add the mocked appender to the root logger. ( using slf4j)

tishachoudhuri