C# Class NUnit.Framework.Api.DefaultTestAssemblyBuilder

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat ITest

Build() public méthode

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
Résultat ITest

DefaultTestAssemblyBuilder() public méthode

Initializes a new instance of the DefaultTestAssemblyBuilder class.
public DefaultTestAssemblyBuilder ( ) : System
Résultat System