NCover reporting for automatic properties

NCover reporting for automatic properties

Hi there,

Im currently evaluating NCover and noticed that where I have used automatic properties (VS2008) e.g

[code:437da]public string FirstName { get; set; }[/code:437da]

instead of ..

[code:437da]public string FirstName { get { return firstName; } set { firstName = value; } }[/code:437da]

..they dont seem to get code coverage.

(Apologies if this has been posted before but I couldnt find a reference)

Stephen


Re: NCover reporting for automatic properties

Stephen,

Thanks for bringing this to our attention, I have taken the liberty of submitting a support ticket, for this issue which you can view here: <!-- m -->https://gnoso.fogbugz.com/default.asp?436<!-- m -->

We hope to have this problem fixed soon, Stephen Ward


RE: NCover reporting for automatic properties

Hi, Was this ever resolved ? (link to the bug is not working)


RE: NCover reporting for automatic properties

We have looked into automatic properties and determined that NCover Explorer is not handling them correctly.

A bug has been assigned and we are going to try to get this fix into the 2.1 release.

Thanks

Joe