Interface ITestAssemblyBuilder
The ITestAssemblyBuilder interface is implemented by a class that is able to build a suite of tests given an assembly or an assembly filename.
Namespace: NUnit.Framework.Api
Assembly: nunit.framework.dll
Syntax
public interface ITestAssemblyBuilder
Methods
View SourceBuild(Assembly, IDictionary<string, object>)
Build a suite of tests from a provided assembly
Declaration
ITest Build(Assembly assembly, IDictionary<string, object> options)
Parameters
| Type | Name | Description |
|---|---|---|
| Assembly | assembly | The assembly from which tests are to be built |
| IDictionary<string, object> | options | A dictionary of options to use in building the suite |
Returns
| Type | Description |
|---|---|
| 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
Declaration
ITest Build(string assemblyName, IDictionary<string, object> options)
Parameters
| Type | Name | Description |
|---|---|---|
| string | assemblyName | The filename of the assembly from which tests are to be built |
| IDictionary<string, object> | options | A dictionary of options to use in building the suite |
Returns
| Type | Description |
|---|---|
| ITest | A TestSuite containing the tests found in the assembly |