I have a Solution having 8 to 9 different projects. Among them 1 is Unit Test Project. Everything working properly. But my question is how can I run all my UNIT TEST cases in PowerShell script ?
I got a solution here How to run ALL tests in my solution using command line MSTest.exe?
You can see @Gabrielius gave 1 solution. But I'm always getting this error, mstest : The term 'mstest' is not recognized as the name of a cmdlet,...
Note: I have already MSTest.exe in my laptop, bellow folder C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
My UnitTest project dll is in this folder
E:\Company projects\BWS\Main\BWS.Ins\BWS.Ins.UnitTest\bin\Debug\
In my UNIT TEST project I have 2 folder. 1 is test cases for ASP.Net MVC Controllers and 2nd one is for API. Please any help for how can I run all the cases (which are in different folders) from powershell. Thanks in advance.