Class AuthorAttribute
Provides the author of a test or test fixture.
Implements
Inherited Members
Namespace: NUnit.Framework
Assembly: nunit.framework.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class AuthorAttribute : PropertyAttribute, IApplyToTest
Constructors
View SourceAuthorAttribute(string)
Initializes a new instance of the AuthorAttribute class.
Declaration
public AuthorAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the author. |
AuthorAttribute(string, string)
Initializes a new instance of the AuthorAttribute class.
Declaration
public AuthorAttribute(string name, string email)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the author. |
string | The email address of the author. |