According to this post on StackOverflow and EclEmma's documentation, exclusion of classes from the coverage should be very possible. However, while the "includes" field works just as described, the "excludes" field does not.
Take the following project hierarchy and coverage runtime settings respectively:
But, after running the coverage operation, the exclude setting does not work:
As one can see, the excluded package is still being included in the overall coverage testing. In addition, if you mark '*' in "includes" and mark a package in the "excludes," it is still not excluded.
According to this issue and Godlin's answer:
Unfortunately currently EclEmma does not support exclusions from the report as stated in [issue]
However, this problem is well over a year old. I am asking if I am doing something incorrect or if this problem is still ongoing? What is the point of including these two fields if they don't work as intended?
Version(s):
Eclipse: Oxygen Release (4.7.0)