Saint
Saint

Reputation: 5469

Exclude properties from dotCover analysis

How to exclude analysing of empty properties like

public string Something { get; set; }

from dotCover analysis? What filter should I use?

Upvotes: 1

Views: 1565

Answers (1)

Richardissimo
Richardissimo

Reputation: 5765

If you want to exclude auto-properties from coverage analysis, dotCover 2016.2 now provides the Hide auto-properties option to let you do just that.

https://www.jetbrains.com/help/dotcover/Reference_Options_dotCover_Filtering.html

Auto properties can be hidden in the "report" and "analyse" commands using /HideAutoProperties from the console runner.

Upvotes: 2

Related Questions