Class NoTestsAttribute
Indicates the default status of a parameterized test method or test fixture containing no executable child tests.
Implements
Inherited Members
Namespace: NUnit.Framework
Assembly: nunit.framework.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class NoTestsAttribute : PropertyAttribute, IApplyToTest
Constructors
View SourceNoTestsAttribute(TestStatus)
Initializes a new instance of the NoTestsAttribute class with the specified default TestStatus.
Declaration
public NoTestsAttribute(TestStatus defaultStatus)
Parameters
| Type | Name | Description |
|---|---|---|
| TestStatus | defaultStatus | The default TestStatus to assign to tests with no executable children. |