Search the web
Sign In
New User? Sign Up
win_tech_off_topic · Windows Technical: Off Topic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 59807 - 59807 of 59807   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#59807 From: "Ryan Rinaldi (TT)" <ryan.rinaldi@...>
Date: Tue Nov 3, 2009 10:52 pm
Subject: RE: [OT] Test All Tests in TFS Build Server?
rrinaldi20
Offline Offline
Send Email Send Email
 

If you look in the .proj file that Team build uses it’s documented how to run tests without a test list:

 

<!--  TEST ARGUMENTS

     If the RunTest property is set to true then the following test arguments will be used to run

     tests. Tests can be run by specifying one or more test lists and/or one or more test containers.

    

     To run tests using test lists, add MetaDataFile items and associated TestLists here.  Paths can

     be server paths or local paths, but server paths relative to the location of this file are highly

     recommended:

    

        <MetaDataFile Include="$(BuildProjectFolderPath)/HelloWorld/HelloWorld.vsmdi">

            <TestList>BVT1;BVT2</TestList>

        </MetaDataFile>

 

     To run tests using test containers, add TestContainer items here:

    

        <TestContainer Include="$(OutDir)\HelloWorldTests.dll" />

        <TestContainer Include="$(SolutionRoot)\TestProject\WebTest1.webtest" />

        <TestContainer Include="$(SolutionRoot)\TestProject\LoadTest1.loadtest" />

 

     Use %2a instead of * and %3f instead of ? to prevent expansion before test assemblies are built

    -->

 

From: win_tech_off_topic@yahoogroups.com [mailto:win_tech_off_topic@yahoogroups.com] On Behalf Of SteveC
Sent: Tuesday, November 03, 2009 2:41 PM
To: win_tech_off_topic@yahoogroups.com
Subject: [OT] Test All Tests in TFS Build Server?

 




I have multiple (VS not nUnit) unit tests that I would like to run after-build on my TFS 2008 box. I don't want to use the .testrunconfig file or .vsmdi file because they have a few problems in my multi-developer setup. I would like for the build server to do some inspection of every test*.dll file in my 'drop directory' and run any tests it finds there. the tests are database (gdrv2) tests and regular unit tests also.

 

There seem to be plenty of resources and hacks and etc for 2005, but they involve changing things or doing things that don't apply to the 2008 product. Can anyone throw me their $.02 on this one?

 

Thanks.





Messages 59807 - 59807 of 59807   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help