简体   繁体   中英

Running Visual Studio Test project from outside

I am trying to run a Visual Studio 2012 solution with a normal c# dll project and a Unit test project(referencing the c# project dll) from a windows 8 app/ another c# project.

How do I trigger the run of the unit tests from another visual studio project?

Is there any way to trigger with a powershell script ?

mstest.exe is the command line test runner.

It is documented on MSDN: http://msdn.microsoft.com/en-us/library/jj155804.aspx

I see no reason this will not work from PowerShell.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM