Force JUnit to Display Uncaught Exception Stack Traces

后端 未结 1 1461
再見小時候
再見小時候 2021-02-07 05:33

Possibly this might be already obvious in the JUnit docs, but can\'t seem to find it, nor remember if there is a solution for what I\'m about to describe.

When I\'m runn

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-07 06:22

    Try setting the maven-surefire-plugin's useFile parameter to false. Per the Surefire plugin docs this outputs the test reports to the console.

    Also see the trimStackTrace parameter.

    0 讨论(0)
提交回复
热议问题