Table of Contents

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 MethodInfo

The method to be used as a test

suite Test

The TestSuite to which the method will be added

Returns

TestMethod

A TestMethod object