VSMDI / TestLists

Ok, so I had my first look at a test list today… It doesn’t look to scary:

<?xml version="1.0" encoding="UTF-8"?>
<TestLists xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2006">
  <TestList name="Test" id="4965f8d9-7c75-44ec-a6a7-1ddc90be355c" parentListId="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
      <TestLink id="0c16c787-7ced-9874-280d-95763867baa5" name="OneCategory" storage="testlistgenerator.tests.testsubjectbindebugtestlistgenerator.tests.testsubject.dll" type="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestElement, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel,   PublicKeyToken=b03f5f7f11d50a3a" />
  <TestList name="Lists of Tests" id="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
    <RunConfiguration id="d0fd86fa-f02f-47a6-ac94-1e966ef3564e" name="Local Test Run" storage="localtestrun.testrunconfig" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common,   PublicKeyToken=b03f5f7f11d50a3a" />
  <TestList name="Test 2" id="d2c82856-b727-489a-97ee-21e164e205ed" parentListId="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
      <TestLink id="aebae68c-f6ca-a80b-2c43-c4ddd95e4109" name="RepeatedCategories" storage="testlistgenerator.tests.testsubjectbindebugtestlistgenerator.tests.testsubject.dll" type="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestElement, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel,   PublicKeyToken=b03f5f7f11d50a3a" />
      <TestLink id="7c44089f-5995-0c35-6e3b-21a742dd47a9" name="TestGetTestCategories_Class1" storage="testlistgenerator.testsbindebugtestlistgenerator.tests.dll" type="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestElement, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel,   PublicKeyToken=b03f5f7f11d50a3a" />

List of Tests is the default Test List in Visual Studio. The other two are tests that I made. From the looks of things, each TestList has a parent TestList as well as a list of Tests (TestLinks) that are in the TestList. My concerns are the ids – what exactly are they, and how are they generated?

A quick search on google turns up this thread. Hmm, helpful – I even commented on it. So now I know how the ids are generated for TestLinks. However, I can’t seem to work out how they are generated for TestLists – this could be a problem 😦

Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: