KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to know how to tell MSTEST to run all test projects in a solution file. This needs to be done from the command line. Right now I have to pass it a specific project file, I'm trying to get it to run from a SOLUTION file. I'm hoping this is possible, because in Visual Studio, hitting Ctrl+R, A, runs ALL tests in the currently opened solution. The way I've interpretted the help files, you have to pass in each DLL specifically. I want to run this from the command line from my CruiseControl.NET server, so I can write other utilities to make this happen. If there is a wierd way of getting this to happen through some OTHER method, let me know. How do I tell MSTEST to run all test projects for a solution? <exec> <!--MSTEST seems to want me to specify the projects to test --> <!--I should be able to tell it a SOLUTION to test!--> <executable>mstest.exe</executable> <baseDirectory>C:\projects\mysolution\</baseDirectory> <buildArgs>/testcontainer:testproject1\bin\release\TestProject1.dll /runconfig:localtestrun.Testrunconfig /resultsfile:C:\Results\testproject1.results.trx</buildArgs> <buildTimeoutSeconds>600</buildTimeoutSeconds> </exec>
Tags (comma-separated)
Save Edits
Cancel