How make JUnit to print asserts and results
I have some tests like this: @Test public void test01() { Position p = getPositionAt('a', 1); assertNotNull("a1 exists", p); assertNotNull("figure exists a1", p.getFigure()); p = getPositionAt('a', 2); assertNotNull("exists a2", p); assertNull("figure exists a2", p.getFigure()); p = getPositionAt('b', 1); assertNotNull("exists b1", p); assertNull("figure exists b1", p.getFigure()); } What I need while running tests is to print each assert message to stdout and then result of the assert. This is require format from test class: a1 exists -success figure exists a1 -success exists a2 -success