IgnoreAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute used to mark a test that is to be ignored. Ignored tests result in a warning message when the tests are run.
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class IgnoreAttribute : NUnit.Framework.NUnitAttribute, NUnit.Framework.Internal.IApplyToTest
type IgnoreAttribute = class
inherit NUnitAttribute
interface IApplyToTest
- Inheritance
- Attributes
- Implements
Constructors
IgnoreAttribute() |
Constructs the attribute without giving a reason for ignoring the test. |
IgnoreAttribute(String) |
Constructs the attribute giving a reason for ignoring the test |
Methods
ApplyToTest(Test) |