Class DefaultTestAssemblyBuilder
DefaultTestAssemblyBuilder loads a single assembly and builds a TestSuite containing test fixtures present in the assembly.
public class DefaultTestAssemblyBuilder : ITestAssemblyBuilder
- Inheritance
-
DefaultTestAssemblyBuilder
- Implements
- Inherited Members
Constructors
DefaultTestAssemblyBuilder()
Initializes a new instance of the DefaultTestAssemblyBuilder class.
public DefaultTestAssemblyBuilder()
Methods
Build(Assembly, IDictionary<string, object>)
Build a suite of tests from a provided assembly
public ITest Build(Assembly assembly, IDictionary<string, object> options)
Parameters
assembly
AssemblyThe 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 name or the location of an assembly
public ITest Build(string assemblyNameOrPath, IDictionary<string, object> options)
Parameters
assemblyNameOrPath
stringThe name or the location of the assembly.
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