Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Conversation

@molnargab
Copy link
Contributor

Using a filter of +[assembly_name*]class_name* would exclude all the processes, including the test runner, due to Filter.InstrumentProcess having:

var matchingInclusionFilters = InclusionFilters.GetMatchingFiltersForProcessName(processName);
return matchingInclusionFilters.Any(inclusionFilter => inclusionFilter.AssemblyName == ".*" || inclusionFilter.ClassName == ".*");

Supposed to fix #359.

@ddur
Copy link
Contributor

ddur commented Dec 24, 2015

My test assembly is DBCL.dll, namespace DD.Collections, class BitSetArray
Filter was +[DBCL]DD.Collections.BitSetArray*
I hope it works now again :)

ddur added a commit that referenced this pull request Dec 24, 2015
Process is excluded if both assembly and class filters are specified
@ddur ddur merged commit 94a19aa into OpenCover:master Dec 24, 2015
@ddur
Copy link
Contributor

ddur commented Dec 24, 2015

It is ok

@molnargab molnargab deleted the test_process_excluded branch December 26, 2015 00:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SharpDevelop integration

2 participants