Jacoco exclude classes

前端 未结 3 981
迷失自我
迷失自我 2021-01-20 22:08

Hi I am trying to exclude classes for my code coverage using jacoco. I want to exclude the gui folder and all the classes inside it.

            


        
3条回答
  •  悲&欢浪女
    2021-01-20 22:39

    I have also faced the same problem.In my case ,I was trying to generate code coverage of a application which was running on j2EE server. I have tried to remove some classes which were not getting used much , to increase code coverage, but exclude does not worked for me.

    At last i have tried work around for this instead of using exclude in to configuration. I have removed the clasess from the path of the task that was responsible for generating report.

提交回复
热议问题