partcover

Partcover: Exclude multiple namespaces via commandline


I'm using Partcover to generate code coverage statistic and want to exclude multiple namespaces using commandline parameter --exclude.

I can't manage to specify multiple namespaces to be excluded, could anyone suggest how to do it? Obviously single namespace mask working well.


Solution

  • You should just be able to add a --exclude for each assembly/namespace combination

    i.e. --exclude [Assembly*]Namespace1.* --exclude [Assembly*]Namespace2.*