Unit Test


how automate unit test,codecoverage in tfs , store result in shared location.

hrmpg, apologixe previous reply, read message bit fast , mixed code coverage code analysis.

 

so, not necessary add runcodeanalysis property code coverage :-) , test run
configurations has nothing code analys.

 

regardring vsmdi file: in tfs 2008 have 2 choices, either use test lists , specify which
test lists run:

 

<metadatafile include="$(buildprojectfolderpath)/helloworld/helloworld.vsmdi">

    <testlist>bvt1;bvt2</testlist>

</metadatafile>

 

, or use test container option, lets run test found in assemblies:

 

<testcontainer include="$(outdir)\helloworldtests.dll" />

<testcontainer include="$(solutionroot)\testproject\webtest1.webtest" />

<testcontainer include="$(solutionroot)\testproject\loadtest1.loadtest" />

 

to code coverage, need specify confioguration file use, mentioned in previous post

 

regards

/jakob



Archived Forums V  >  Team Foundation Server - Build and release management



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........