MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CssIterationAttribute Constructor (String)

 

Initializes a new instance of the CssIterationAttribute class.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public CssIterationAttribute(
	string cssIteration
)

Parameters

cssIteration
Type: System.String

A string that identifies the corresponding project iteration.

Legacy Code Example

The following example shows a CssIterationAttribute initialized and applied to a test method.

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace SampleTestProject
{
   [TestClass]
   public class UnitTest1
   {
      [TestMethod]
      [CssIteration("vstfs:///Classification/Node/3ab4f649")]
      [CssProjectStructure("vstfs:///Classification/Node/a8a26a10")]
      public void TestMethod1()
      {
         // TODO: Add test logic here
      }
   }
}
Return to top
Show:
© 2016 Microsoft