Implementing Traits in custom Visual Studio Test Adapters
Dec 4, 2012Mathew Aniyan MSFT

Summary
This post details how to implement Traits support for a custom XML Test Adapter in Visual Studio 2012 Update 1. It demonstrates modifying the XML Test Adapter to retrieve a 'category' attribute from test cases and add it to the 'Traits' property of the test case. This allows for better organization and filtering of tests within the Test Explorer. The post also highlights that out-of-the-box test adapters for C# Desktop, C++ Native, C# Windows Store, C++ Windows Store, and Managed C++ now support Traits.