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 tests from a specified method. In general, it is exposed by an attribute, but it may be implemented in a helper class used by the attribute in some cases.

public interface ISimpleTestBuilder

Methods

BuildFrom(IMethodInfo, Test?)

Builds a single test from the specified method and context.

TestMethod BuildFrom(IMethodInfo method, Test? suite)

Parameters

method IMethodInfo

The method to be used as a test

suite Test

The TestSuite to which the method will be added

Returns

TestMethod