mors
mors

Reputation: 507

Is there a way for junit to report the number of tests with the same stacktrace?

I'm using jenkins and maven to run system tests in junit. It's not abnormal, when there are modifications, for a lot of tests to fail because of the same error.

I'm trying to avoid tests dependencies so I'd like to know if there's a way for the junit report to tell there something like "there were 10 tests failled with this exception in this part of the code".

The normal junit report was shows the stacktrace for each tests. Is there a way to the tests for eachs stacktrace?

Maven plugin or jenkins plugin would be perfect.

Thanks!

Upvotes: 1

Views: 34

Answers (1)

julschi
julschi

Reputation: 130

What about the FindBugs Plugin. This one could be helpful for you.

<dependency>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>findbugs-maven-plugin</artifactId>
   <version>2.5.3</version>
</dependency>

Upvotes: 1

Related Questions