How to use the Exclude Type Feature

How to use the Exclude Type Feature

Hello,

In our code base we create web service proxies and I would like to exclude these proxies from coverage. I have tried to use the exclude type feature as follows:

excludeTypes="*.Domain.PatientsService" OR excludeTypes="FULL NAMESPACE.Domain.PatientsService"

But this does not work.

I know the exact name of the type i want to exclude but am having issues. Please help


RE: How to use the Exclude Type Feature

excludeTypes takes a regular expression rather than a wildcard match string, so you'll want to use something like:

exludeTypes=".*.Domain.PatientsService"