The 2.8 version of the maven-surefire-plugin has changed the way test
summaries are formatted at the command line. The summaries now include
the failure message for each failing test. In some cases, this failure
message corresponds to an exception message from a framework like
Spring, which can be over 1000 characters long, as it includes details
like which XML file was being read, which bean was being loaded, what
the bean's type was, and so on. Including this failure message in the
test summary obscures the method/class names, making the summary
difficult to read.

 

For now I've reverted to Surefire 2.7, which doesn't have this problem.
But is there a way to configure newer versions of the
maven-surefire-plugin to omit these failure messages, or to truncate
them to a reasonable length?

 

Thanks,

 

- Aaron

 

Reply via email to