IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
ExplicitAttribute marks a test or test fixture so that it will only be run if explicitly executed from the gui or command line or if it is included by use of a filter. The test will not be run simply because an enclosing suite is run. More...
Public Member Functions | |
ExplicitAttribute () | |
Default constructor More... | |
ExplicitAttribute (string reason) | |
Constructor with a reason More... | |
void | ApplyToTest (Test test) |
Modifies a test by marking it as explicit. More... | |
![]() | |
NUnitAttribute () | |
Default constructor More... | |
Private Attributes | |
string | reason |
ExplicitAttribute marks a test or test fixture so that it will only be run if explicitly executed from the gui or command line or if it is included by use of a filter. The test will not be run simply because an enclosing suite is run.
|
inline |
Default constructor
|
inline |
Constructor with a reason
reason | The reason test is marked explicit |
|
inline |
Modifies a test by marking it as explicit.
test | The test to modify |
Implements NUnit.Framework.Interfaces.IApplyToTest.
References NUnit.Framework.Internal.Test.Properties, NUnit.Framework.Internal.Test.RunState, NUnit.Framework.Interfaces.IPropertyBag.Set(), and NUnit.Framework.Internal.PropertyNames.SkipReason.
Referenced by NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeDoesNotAffectNonRunnableTest(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeMakesTestExplicit(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeSetsIgnoreReason(), NUnit.Framework.Attributes.ApplyToTestTests.ExplicitAttributeWithIgnoreIgnoresTest(), and NUnit.Framework.Attributes.ApplyToTestTests.IgnoreAttributeWithExplicitIgnoresTest().
|
private |