Code coverage filter

I want to exclude the "test" and "mock" packages from being included in the code coverage results in IntelliJ 6.0.4. Is there a way I can achieve this?

Or Can I exclude some specific internal packages as for example:

I specify "Packages and classes to record coverage data" as:
com.companyname.projectname.*

And then exclude certain internal packages using the following:
com/companyname/projectname/*/test/ and
com/companyname/projectname/*/mock/

Any help on similar lines is welcome...

Thanks,
Rasesh

Please sign in to leave a comment.