C# Class NUnit.Framework.Api.DefaultTestAssemblyBuilder

DefaultTestAssemblyBuilder loads a single assembly and builds a TestSuite containing test fixtures present in the assembly.
Inheritance: ITestAssemblyBuilder
Show file Open project: nunit/nunit Class Usage Examples

Public Methods

Method Description
Build ( Assembly assembly, object>.IDictionary options ) : ITest

Build a suite of tests from a provided assembly

Build ( string assemblyName, object>.IDictionary options ) : ITest

Build a suite of tests given the filename of an assembly

DefaultTestAssemblyBuilder ( ) : System

Initializes a new instance of the DefaultTestAssemblyBuilder class.

Private Methods

Method Description
Build ( Assembly assembly, string assemblyPath, object>.IDictionary options ) : TestSuite
BuildTestAssembly ( Assembly assembly, string assemblyName, IList fixtures ) : TestSuite
GetCandidateFixtureTypes ( Assembly assembly, IList names ) : IList
GetFixtures ( Assembly assembly, IList names ) : IList

Method Details

Build() public method

Build a suite of tests from a provided assembly
public Build ( Assembly assembly, object>.IDictionary options ) : ITest
assembly System.Reflection.Assembly The assembly from which tests are to be built
options object>.IDictionary A dictionary of options to use in building the suite
return ITest

Build() public method

Build a suite of tests given the filename of an assembly
public Build ( string assemblyName, object>.IDictionary options ) : ITest
assemblyName string The filename of the assembly from which tests are to be built
options object>.IDictionary A dictionary of options to use in building the suite
return ITest

DefaultTestAssemblyBuilder() public method

Initializes a new instance of the DefaultTestAssemblyBuilder class.
public DefaultTestAssemblyBuilder ( ) : System
return System