Table of Contents

Interface ITestAssemblyBuilder

Namespace
NUnit.Framework.Api
Assembly
nunit.framework.dll

The ITestAssemblyBuilder interface is implemented by a class that is able to build a suite of tests given an assembly or an assembly filename.

public interface ITestAssemblyBuilder

Methods

Build(Assembly, IDictionary<string, object>)

Build a suite of tests from a provided assembly

ITest Build(Assembly assembly, IDictionary<string, object> options)

Parameters

assembly Assembly

The assembly from which tests are to be built

options IDictionary<string, object>

A dictionary of options to use in building the suite

Returns

ITest

A TestSuite containing the tests found in the assembly

Build(string, IDictionary<string, object>)

Build a suite of tests given the filename of an assembly

ITest Build(string assemblyName, IDictionary<string, object> options)

Parameters

assemblyName string

The filename of the assembly from which tests are to be built

options IDictionary<string, object>

A dictionary of options to use in building the suite

Returns

ITest

A TestSuite containing the tests found in the assembly