Interface ITestBuilder
- Namespace
- NUnit.Framework.Interfaces
- Assembly
- nunit.framework.dll
The ITestBuilder interface is exposed by a class that knows how to build one or more TestMethods from a MethodInfo. In general, it is exposed by an attribute, which has additional information available to provide the necessary test parameters to distinguish the test cases built.
public interface ITestBuilder
Methods
BuildFrom(MethodInfo, Test)
Build one or more TestMethods from the provided MethodInfo.
IEnumerable<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
- IEnumerable<TestMethod>
A TestMethod object