<Type Name="TestAttribute" FullName="NUnit.Framework.TestAttribute">
  <TypeSignature Language="C#" Value="public sealed class TestAttribute : System.Attribute" Maintainer="auto" />
  <AssemblyInfo>
    <AssemblyName>NUnit.Framework</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
    <AssemblyVersion>2.1.4.0</AssemblyVersion>
    <AssemblyCulture>neutral</AssemblyCulture>
    <Attributes>
      <Attribute>
        <AttributeName>System.CLSCompliantAttribute</AttributeName>
      </Attribute>
    </Attributes>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
  <Docs>
    <summary>
    The Test attribute marks a specific method inside a class that has already been marked as a TestFixture, 
    as a test method.
    </summary>
    <remarks>
      <para>
    For backwards compatibility with previous versions of Nunit a test method will also be found if 
    the first 4 letters are "test" regardless of case.
    </para>
      <para>Note: The signature for a test method is defined as follows; public void MethodName()</para>
      <para>
    There must be no parameters. If the programmer marks a test method that does not have the correct signature it will 
    not be run and it will appear in the Test Not Run area in the UI that ran the program.
    </para>
      <example>
        <code lang="C#">
    using System;
    using NUnit.Framework;
  
    [TestFixture]
    public class SuccessTests
    {
            [Test] 
	    public void Add() { /* ... */ }

	    public void TestSubtract()
	    { 
	            /* backwards compatibility */ 
	    }
    }
    </code>
      </example>
    </remarks>
  </Docs>
  <Base>
    <BaseTypeName>System.Attribute</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.AttributeUsageAttribute</AttributeName>
    </Attribute>
  </Attributes>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public TestAttribute ();" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>Flags a method to be a Test</summary>
      </Docs>
    </Member>
    <Member MemberName="Description">
      <MemberSignature Language="C#" Value="public string Description { set; get; };" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>To be added</summary>
        <returns>a <see cref="T:System.String" /></returns>
        <remarks>To be added</remarks>
      </Docs>
    </Member>
  </Members>
</Type>