using System; namespace NUnit.Framework { /// /// Attribute used to provide descriptive text about a /// test case or fixture. /// [AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Assembly, AllowMultiple=false)] public class DescriptionAttribute : Attribute { string description; /// /// Construct the attribute /// /// Text describing the test public DescriptionAttribute(string description) { this.description=description; } /// /// Gets the test description /// public string Description { get { return description; } } } }