Interface ISimpleTestBuilder
- Namespace
- NUnit.Framework.Interfaces
- Assembly
- nunit.framework.dll
The ISimpleTestBuilder interface is exposed by a class that knows how to build a single TestMethod from a suitable MethodInfo Types. In general, it is exposed by an attribute, but may be implemented in a helper class used by the attribute in some cases.
public interface ISimpleTestBuilder
Methods
BuildFrom(MethodInfo, Test)
Build a TestMethod from the provided MethodInfo.
TestMethod BuildFrom(MethodInfo method, Test suite)
Parameters
method
MethodInfoThe method to be used as a test
suite
TestThe TestSuite to which the method will be added
Returns
- TestMethod
A TestMethod object