Table of Contents

Class DescriptionAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Attribute used to provide descriptive text about a test case or fixture.

[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class DescriptionAttribute : PropertyAttribute, IApplyToTest
Inheritance
DescriptionAttribute
Implements
Inherited Members

Constructors

DescriptionAttribute(string)

Construct a description Attribute

public DescriptionAttribute(string description)

Parameters

description string

The text of the description