Hello Everyone, In this post I would like to share with you some very cool command line tools shipped in Visual Studio 2012 to automate your applications test;
VSTest.Console.exe You can use the VSTest.Console.exe program to run automated unit and coded UI tests from a command line. VSTest.Console.exe is optimized for performance and is used in place of MSTest.exe in Visual Studio 2012.
MSTest.exe You can use the MSTest.exe program to run automated tests in a test assembly from a command line. MSTest is used for load tests and for compatibility with Visual Studio 2010 test projects. MSTest can also be used to view the test results from these test runs, save the results to disk, and save your results to Team Foundation Server.
TCM.exe Tcm.exe is a command-line utility that lets you perform the following tasks:
- Import automated tests into a test plan
- Run tests that are part of a test plan from the command line
- View a list of test items and their corresponding IDs to use when you import tests or run tests
You can also use tcm.exe to run test cases with associated automation from the command line using a test environment.
and now you can enjoy your cup of coffee while testing your app 🙂