Any plans to emit Owner, Description and TestProperty for MSTest

May 19, 2011 at 1:40 PM

If you use MSTEST you can annotate your TestMethod with a set of Attributes named Owner, TestProperty and Description. These get emmited into the .trx file if you run MSTest.exe

For example:

- <UnitTest name="CreateUserRoleThrowsOnEmptyUserRole" storage="..." id="3710b1ce-1b45-bde5-96d9-2db9cfc2b4ae">
  <Description>Tests if CreateUserRole throws on empty user role.</Description>
- <Owners>
  <Owner name="owner" />
  <Execution id="549060d6-8451-4680-a11e-561bac11263a" />
- <Properties>
-    <Property>
-   <Property>
-   <Property>
  <Value>[UserManagementServiceTests] CreateUserRoleThrowsOnEmptyUserRole</Value>
  <TestMethod codeBase="UserManagement.Service.Tests.DLL" adapterTypeName="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" className="UserManagement.Service.UserManagementServiceTests, UserManagement.Service.Tests, Version=, Culture=neutral, PublicKeyToken=485c7b508f2591d7" name="CreateUserRoleThrowsOnEmptyUserRole" />
Are there any plan to support these attribute and emit them to the log file?
May 19, 2011 at 1:48 PM

At this point StatLight doesn't support exporting results into the TRX. There's previous dialog in a post today with some options. (one of the options being contributing trx support).

I believe (but will have to double check) that StatLight supports the Description attribute. This value is placed inside the "OtherInfo" property in the StatLight results.

I'm not opposed to supporting the other attributes. Would you please create a work-item in the issue tracker so we can keep track of this?