Translate This Page
Translate this page
Browse by Tags
Tagged Content List
Writing loggers for command line test runner vstest.console.exe
Command line test runner for VS 2012 comes with a parameter /logger where user can specify logger to be used. Two loggers shipped with VS are Console and Trx. Console logger is default logger that prints output of test execution to console window. Trx logger is can be used to generate trx file for test...
26 Jul 2012
Running selective unit tests in VS 2012 RC using TestCaseFilter
New unit testing platform in Visual Studio 2012 provides a new way to selectively execute test based on filtering condition through TestCaseFilter. TestCaseFilter can as specified as a string while executing tests through command line (vstest.console.exe), Team Build (when running test using “Visual...
23 Jul 2012
Running Unit Tests for Windows Metro style apps from Command Line
Visual Studio 11 Beta was announced sometime back along with Win 8 consumer preview in which Unit testing has been redefined and support for testing Windows Metro style apps is added. Tests for Metro style apps can be run from Visual Studio, Command Line and Team Build. Steps to create and run unit...
6 May 2012
TestCaseFilter in VS11 Unit Testing (Beta)
(For VS2012 RC new filter operators are described at Running selective unit tests in VS 2012 RC using TestCaseFilter ) New unit testing platform in Visual Studio 11.0 Beta ( http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/08/what-s-new-in-visual-studio-11-beta-unit-testing.aspx) provides a new...
26 Apr 2012
How to write tests in WinRT Component DLL project [for VS11 Beta/Consumer Preview]
Note: In this post I just described a way to enable discovery and execution of tests in a WinRT Component DLL. This is not a recommended or supported way to write unit test for WinRT Component. Recommended way is to create a separate 'Unit Test Library' project. Hence, side effects of adding manifest...
26 Apr 2012
Page 1 of 1 (5 items)
© 2013 Microsoft Corporation.
Privacy & Cookies