Closed
Description
Hi,
the VSTest integration does not ignore auto properties during code coverage.
You can finde here a MWE with a folder where I have generated a report from the coverage file (coverage.cobertura.xml in the linked rep).
According to this VSTest integration doc the skipping of auto properties should be supported.
As a preview from my test repo:
public class Class1
{
public String Name { get; set; }
public Int32 Age { get; set; }
public Boolean DoFunnyThings()
{
Name = "Dummy";
Age = 1337;
return true;
}
}
Name and Age are counted for coverage which I think should not be the case.
If you need any more information just ask :-)
Metadata
Metadata
Assignees
Labels
No labels