使用Junit-4.12时测试时用到 org.junit.contrib.Java.lang.system.StandardOutputStreamLog;提示找不到这个包;原因是Junit-4.12中没有这个包。
com.github.stefanbirkner/system-rules/1.4.0 System Rules maven依赖
依赖的配置信息见上
本文介绍使用JUnit-4.12进行单元测试时遇到的一个问题:无法找到org.junit.contrib.Java.lang.system.StandardOutputStreamLog包。文中解释了原因并提供了解决方案,建议使用com.github.stefanbirkner/system-rules/1.4.0作为依赖。
使用Junit-4.12时测试时用到 org.junit.contrib.Java.lang.system.StandardOutputStreamLog;提示找不到这个包;原因是Junit-4.12中没有这个包。
com.github.stefanbirkner/system-rules/1.4.0 System Rules maven依赖
依赖的配置信息见上

被折叠的 条评论
为什么被折叠?