Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- File name extension must be .runsettings -->
  3. <RunSettings>
  4. <DataCollectionRunSettings>
  5. <DataCollectors>
  6. <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">
  7. <Configuration>
  8. <CodeCoverage>
  9.  
  10. <!-- Match assembly file paths: -->
  11. <ModulePaths>
  12. <Include>
  13. <!-- Only include MyProject.* assemblies -->
  14. <ModulePath>.*myproject\..*</ModulePath>
  15. </Include>
  16. <Exclude>
  17. <ModulePath>.*\.uitests.*</ModulePath>
  18. <ModulePath>.*\.unittest.*</ModulePath>
  19. </Exclude>
  20. </ModulePaths>
  21.  
  22. <!-- Namespaces to include/exclude -->
  23. <Functions>
  24. <Exclude>
  25. <Function>.*\.Views\..*</Function>
  26. <Function>.*\.Annotations\..*</Function>
  27. <Function>.*\.Resources\..*</Function>
  28. </Exclude>
  29. </Functions>
  30.  
  31. <!-- Match attributes on any code element: -->
  32. <Attributes>
  33. <Exclude>
  34. <!--Don't forget "Attribute" at the end of the name -->
  35. <Attribute>.*CustomExcludeFromCodeCoverageAttribute$</Attribute>
  36. <Attribute>^System\.Diagnostics\.DebuggerHiddenAttribute$</Attribute>
  37. <Attribute>^System\.Diagnostics\.DebuggerNonUserCodeAttribute$</Attribute>
  38. <Attribute>^System\.Runtime\.CompilerServices.CompilerGeneratedAttribute$</Attribute>
  39. <Attribute>^System\.CodeDom\.Compiler.GeneratedCodeAttribute$</Attribute>
  40. <Attribute>^System\.Diagnostics\.CodeAnalysis.ExcludeFromCodeCoverageAttribute$</Attribute>
  41. </Exclude>
  42. </Attributes>
  43.  
  44. <!-- We recommend you do not change the following values: -->
  45. <UseVerifiableInstrumentation>True</UseVerifiableInstrumentation>
  46. <AllowLowIntegrityProcesses>True</AllowLowIntegrityProcesses>
  47. <CollectFromChildProcesses>True</CollectFromChildProcesses>
  48. <CollectAspDotNet>False</CollectAspDotNet>
  49.  
  50. </CodeCoverage>
  51. </Configuration>
  52. </DataCollector>
  53. </DataCollectors>
  54. </DataCollectionRunSettings>
  55. </RunSettings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement