Do we know if it even attaches to the Cassini process?

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Burrows
Sent: Tuesday, 19 September 2006 5:06 PM
To: [email protected]; [email protected]
Subject: RE: [OzTFS] Has anyone managed to get code coverage working in Team Build with Web Application Projects?

 

Mitch,

 

I have the same problem and don't have an answer yet.   The issue lies in the fact that when you run the test, the web site is being run from the ...\_PublishedWebSite\ directory where as the instrumented DLL's is siting in the \TEST\OUT directory.  Therefore, you don't get any code coverage.    I'm playing around to see if I can add in a DLL in the output directory by modifying the code coverage directory in the .testrunconfig file (see below).  I'll let you know how this goes but my gut feeling is that it will not work.

 

<codeCoverageItems type="System.Collections.Generic.List`1[[Microsoft.VisualStudio.TestTools.Common.CodeCoverageItem, Microsoft.VisualStudio.QualityTools.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]]">
      <_items type="Microsoft.VisualStudio.TestTools.Common.CodeCoverageItem[]">
        <element type="Microsoft.VisualStudio.TestTools.Common.CodeCoverageItem">
          <binaryFile type="System.String"></binaryFile>
          <keyFile type="System.String" />
          <pdbFile type="System.String"></pdbFile>
          <instrumentInPlace type="System.Boolean">True</instrumentInPlace>
          <outputDirectory type="System.String" />
        </element>

 

Cheers

 

Chris

 


From: [EMAIL PROTECTED] on behalf of Mitch Denny
Sent: Tue 19/09/2006 10:12 AM
To: [email protected]
Subject: [OzTFS] Has anyone managed to get code coverage working in Team Build with Web Application Projects?

Hi all,

 

Has anyone managed to get code coverage working in Team Build with Web Application Projects? I spent about eight hours the other night trying to get this working, but for whatever reason it wouldn’t pick up the coverage stats from a Web Application Project (the replacement project time for WebSite Projects that shipped out of the box).

 

Has anyone else tried this?

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

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

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