stefanbirkner / system-rules

A collection of JUnit rules for testing code which uses java.lang.System.
http://stefanbirkner.github.io/system-rules
Other
546 stars 71 forks source link

No coverage of System.exit with Jacoco #79

Closed AlexLefranc closed 4 years ago

AlexLefranc commented 4 years ago

Hi,

I try your rules (really useful for env variables), but when I use jacoco, the report don't see coverage of System.exit with ExpectedSystemExit. Do you know this problem ?

Thanks for your help, and your work.

stefanbirkner commented 4 years ago

Sorry for the late answer. This is a duplicate of #4 and therefore a problem of JaCoCo: jacoco/jacoco#117