Condividi tramite


IgnoreAttribute Classe

Definizione

Attributo utilizzato per contrassegnare un test da ignorare. I test ignorati generano un messaggio di avviso quando vengono eseguiti i test.

[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
Ereditarietà
IgnoreAttribute
Attributi
Implementazioni

Costruttori

IgnoreAttribute()

Costruisce l'attributo senza fornire un motivo per ignorare il test.

IgnoreAttribute(String)

Costruisce l'attributo fornendo un motivo per ignorare il test

Metodi

ApplyToTest(Test)

Attributo utilizzato per contrassegnare un test da ignorare. I test ignorati generano un messaggio di avviso quando vengono eseguiti i test.

Si applica a