CodeCoverage.runsettings 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- File name extension must be .runsettings -->
  3. <RunSettings>
  4. <DataCollectionRunSettings>
  5. <DataCollectors>
  6. <DataCollector friendlyName="XPlat code coverage">
  7. <Configuration>
  8. <Format>cobertura</Format>
  9. <Exclude>[xunit.*]*,[*Tests]*</Exclude> <!-- [Assembly-Filter]Type-Filter -->
  10. <ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
  11. <SingleHit>false</SingleHit>
  12. </Configuration>
  13. </DataCollector>
  14. <DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
  15. <Configuration>
  16. <CodeCoverage>
  17. <!--
  18. About include/exclude lists:
  19. Empty "Include" clauses imply all; empty "Exclude" clauses imply none.
  20. Each element in the list is a regular expression (ECMAScript syntax). See http://msdn.microsoft.com/library/2k3te2cs.aspx.
  21. An item must first match at least one entry in the include list to be included.
  22. Included items must then not match any entries in the exclude list to remain included.
  23. -->
  24. <!-- Match assembly file paths: -->
  25. <ModulePaths>
  26. <Include>
  27. <ModulePath>.*Interactive.*</ModulePath>
  28. <ModulePath>.*System.Linq.Async.dll$</ModulePath>
  29. </Include>
  30. <Exclude>
  31. <ModulePath>.*Tests.dll$</ModulePath>
  32. </Exclude>
  33. </ModulePaths>
  34. </CodeCoverage>
  35. </Configuration>
  36. </DataCollector>
  37. </DataCollectors>
  38. </DataCollectionRunSettings>
  39. </RunSettings>