문제

In a test class, I'm testing a implementation of a collection. All the assertions work just fine (therefore I know the methods on the class are working as I expect them to work). But everytime I use a System.out.println(String/Object) call the String won't show up in the test results... Does anybody know why this happens or how to solve it? Thank you.

도움이 되었습니까?

해결책

The String won't show up in the test results, but it will in the output console. It is designed to work like that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top