How to ignore inner/nested classes with JaCoCo?

前端 未结 1 1666
予麋鹿
予麋鹿 2021-02-15 23:36

I\'m trying to ignore some generated classes, and the classes get ignored fine. But if those classes have inner classes, those classes still get included, despite the parent cla

1条回答
  •  遥遥无期
    2021-02-16 00:33

    After some searching, I found the answer myself. As it wasn't easily googleable, I'm putting it here for posterity's sake:

    The syntax mirrors that of the compiled Java naming convention:

    
        
            **/*DB.*
            **/*DB$*.*
            **/*DTO.*
            **/*DTO$*.*
        
    
    

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