IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Adding this attribute to a method within a
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...
Public Member Functions | |
TheoryAttribute () | |
Construct the attribute, specifying a combining strategy and source of parameter data. More... | |
![]() | |
IEnumerable< TestMethod > | BuildFrom (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... | |
![]() | |
NUnitAttribute () | |
Default constructor More... | |
Additional Inherited Members | |
![]() | |
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... | |
Adding this attribute to a method within a
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() {} }
|
inline |
Construct the attribute, specifying a combining strategy and source of parameter data.