Config to run all unit tests without test list

The project I'm working on have a lot of unit tests. As of now, I have to create a test lists of unit tests to be run when we compile our solution on the server. I'd like to get rid of this test list and simply say "run all tests" since we are only using unit tests. It would be much easier for us all if we didn't have to maintain a *.vsmdi file. Is there a way to edit the Team Build Type to run all tests. As it is now, it looks like:

<MetaDataFileInclude="$(SolutionRoot)\CompanySolution\CompanySolution.vsmdi">

<TestList>All Unit Tests</TestList>

</MetaDataFile>

In our vsmdi file we only have one test list, called "All Unit Tests". Is it possible to use a wildcard instead or something? For example

<MetaDataFileInclude="$(SolutionRoot)\CompanySolution\CompanySolution.vsmdi">

<TestList>*</TestList>

</MetaDataFile>

Cheers,

Chris

[2330 byte] By [compilator] at [2008-2-11]
# 1

Welcome to the new forum Chris!

Unfortunately, there is no way currently to choose all tests in your test project simply because there is no way that team build can figure out all tests defined in the project just from the vsmdi file.

We have received feedback around this before too and we will try our best to look into this for future versions. Thanks!

Anutthara at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...

Visual Studio Team System

Site Classified