阅读背景:

如何在记录器中对消息执行JUnit断言

来源:互联网 

I have some code-under-test that calls on a Java logger to report its status. In the JUnit test code, I would like to verify that the correct log entry was made in this logger. Something along the following lines:I have some code-under-test that calls on a Jav




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: