Class TestAttribute
Represents the base class test attributes.
public abstract class TestAttribute : BaseAttribute, ISimpleTestBuilder
- Inheritance
-
TestAttribute
- Implements
-
ISimpleTestBuilder
- Derived
- Inherited Members
Constructors
TestAttribute()
protected TestAttribute()
Methods
BuildFrom(IMethodInfo, Test)
Build a TestMethod from the provided MethodInfo.
public virtual TestMethod BuildFrom(IMethodInfo method, Test suite)
Parameters
method
IMethodInfoThe method to be used as a test.
suite
TestThe TestSuite to which the method will be added.
Returns
- TestMethod
A TestMethod object.
See Also
ISimpleTestBuilder