IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.TheoryAttribute Class Reference

Adding this attribute to a method within a

See also
TestFixtureAttribute

class makes the method callable from the NUnit test runner. There is a property called Description which is optional which you can provide a more detailed test description. This class cannot be inherited. More...

+ Inheritance diagram for NUnit.Framework.TheoryAttribute:
+ Collaboration diagram for NUnit.Framework.TheoryAttribute:

Public Member Functions

 TheoryAttribute ()
 Construct the attribute, specifying a combining strategy and source of parameter data. More...
 
- Public Member Functions inherited from NUnit.Framework.CombiningStrategyAttribute
IEnumerable< TestMethodBuildFrom (IMethodInfo method, Test suite)
 Construct one or more TestMethods from a given MethodInfo, using available parameter data. More...
 
void ApplyToTest (Test test)
 Modify the test by adding the name of the combining strategy to the properties. More...
 
- Public Member Functions inherited from NUnit.Framework.NUnitAttribute
 NUnitAttribute ()
 Default constructor More...
 

Additional Inherited Members

- Protected Member Functions inherited from NUnit.Framework.CombiningStrategyAttribute
 CombiningStrategyAttribute (ICombiningStrategy strategy, IParameterDataProvider provider)
 Construct a CombiningStrategyAttribute incorporating an ICombiningStrategy and an IParamterDataProvider. More...
 
 CombiningStrategyAttribute (object strategy, object provider)
 Construct a CombiningStrategyAttribute incorporating an object that implements ICombiningStrategy and an IParameterDataProvider. This constructor is provided for CLS compliance. More...
 

Detailed Description

Adding this attribute to a method within a

See also
TestFixtureAttribute

class makes the method callable from the NUnit test runner. There is a property called Description which is optional which you can provide a more detailed test description. This class cannot be inherited.

[TestFixture] public class Fixture { [Test] public void MethodToTest() {}

[Test(Description = "more detailed description")] public void TestDescriptionMethod() {} }

Constructor & Destructor Documentation

NUnit.Framework.TheoryAttribute.TheoryAttribute ( )
inline

Construct the attribute, specifying a combining strategy and source of parameter data.


The documentation for this class was generated from the following file: