I\'m trying to print some data with System.out
in my unit tests (@Test
mehotds), but it is not showing anything. However, it works properly in
This sound familiar to me, so I assume you're running your tests from some IDE (Netbeans?). It might be the case that it only shows the output for tests that fail. Does this also occur when running the test from console?
You might have more luck using System.err
instead of System.out
, but I'm not sure about this.