Reputation: 6532
We tried to use a couple of code-coverage plugins for our spring project (EclEmma,Clover).
Both are providing wrong results regarding the coverage %.
The tests are using Spring's taskExecutor (thread pool).
All the code that the task executors threads executes does not count as covered.
Any ideas why?
Upvotes: 3
Views: 710
Reputation: 41
I got the same issue. It seems that test coverage doesnt work well with multithreads.
Upvotes: 0