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
<UnitTest name="CreateUserRoleThrowsOnEmptyUserRole" storage="..." id="3710b1ce-1b45-bde5-96d9-2db9cfc2b4ae">
<Description>Tests if CreateUserRole throws on empty user role.</Description>
<Owner name="owner" />
codeBase="UserManagement.Service.Tests.DLL" adapterTypeName="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter,
Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" className="UserManagement.Service.UserManagementServiceTests, UserManagement.Service.Tests, Version=220.127.116.11, 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 12: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?