Hi all,

 

I've been able to analyse code coverage results from VSTS by following
the guide here:

 

http://blogs.msdn.com/ms_joc/articles/406608.aspx

 

However, the dataset containing code coverage information only has an
aggregate of the coverage. Instead, I want to be able to tell how much
coverage an individual test resulted in. Does anyone know how I might do
that?

 

The BuildDataSet() method takes a GUID array as a parameter, so I looked
inside using reflector and it seems that the GUID array is a list of
Test ID's that you can pass to extract test data only for a given test.
However, if you call the method and pass anything but null, it results
in a NotImplementedException. The interesting observation here is that
the native "*.coverage" file that is generated must associate particular
tests with how much was covered, but there doesn't seem to be any way to
access that data using the public API. 

 

It seems like the only way to get test results for an individual test is
to run each test on its own - but I would then have to run them all
again as a group to get a summary of the results. Any suggestions?

Regards,

Paul Stovell
Readify | Senior Developer
Microsoft MVP: Visual Developer - Client Application Development

M: +61 420 314 127 | E: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  | W: www.readify.net
<http://www.readify.net/>  | B: www.paulstovell.net
<http://www.paulstovell.net/> 

________________________________

The content of this e-mail, including any attachments is a confidential
communication between Readify Pty Ltd and the intended addressee and is
for the sole use of that intended addressee. If you are not the intended
addressee, any use, interference with, disclosure or copying of this
material is unauthorized and prohibited. If you have received this
e-mail in error please contact the sender immediately and then delete
the message and any attachment(s).




OzTFS.com - to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net

Reply via email to