IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
DefaultTestAssemblyBuilder loads a single assembly and builds a TestSuite containing test fixtures present in the assembly. More...
Public Member Functions | |
DefaultTestAssemblyBuilder () | |
Initializes a new instance of the DefaultTestAssemblyBuilder class. More... | |
ITest | Build (Assembly assembly, IDictionary options) |
Build a suite of tests from a provided assembly More... | |
ITest | Build (string assemblyName, IDictionary options) |
Build a suite of tests given the filename of an assembly More... | |
Private Member Functions | |
TestSuite | Build (Assembly assembly, string assemblyPath, IDictionary options) |
IList< Test > | GetFixtures (Assembly assembly, IList names) |
IList< Type > | GetCandidateFixtureTypes (Assembly assembly, IList names) |
TestSuite | BuildTestAssembly (Assembly assembly, string assemblyName, IList< Test > fixtures) |
Private Attributes | |
ISuiteBuilder | _defaultSuiteBuilder |
The default suite builder used by the test assembly builder. More... | |
Static Private Attributes | |
static Logger | log = InternalTrace.GetLogger(typeof(DefaultTestAssemblyBuilder)) |
DefaultTestAssemblyBuilder loads a single assembly and builds a TestSuite containing test fixtures present in the assembly.
|
inline |
Initializes a new instance of the DefaultTestAssemblyBuilder class.
|
inline |
Build a suite of tests from a provided assembly
assembly | The assembly from which tests are to be built |
options | A dictionary of options to use in building the suite |
Implements NUnit.Framework.Api.ITestAssemblyBuilder.
References NUnit.Common.Logger.Debug(), NUnit.Common.AssemblyHelper.GetAssemblyName(), and NUnit.Common.AssemblyHelper.GetAssemblyPath().
|
inline |
Build a suite of tests given the filename of an assembly
assemblyName | The filename of the assembly from which tests are to be built |
options | A dictionary of options to use in building the suite |
Implements NUnit.Framework.Api.ITestAssemblyBuilder.
References NUnit.Common.Logger.Debug(), NUnit.Common.AssemblyHelper.Load(), NUnit.Framework.Internal.Test.Properties, NUnit.Framework.Internal.Test.RunState, NUnit.Framework.Interfaces.IPropertyBag.Set(), and NUnit.Framework.Internal.PropertyNames.SkipReason.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References NUnit.Framework.Internal.Builders.NamespaceTreeBuilder.Add(), NUnit.Framework.Internal.PropertyNames.AppDomain, NUnit.Framework.Internal.Test.ApplyAttributesToTest(), NUnit.Framework.Internal.PropertyNames.ProcessID, NUnit.Framework.Internal.Test.Properties, NUnit.Framework.Internal.Builders.NamespaceTreeBuilder.RootSuite, NUnit.Framework.Internal.Test.RunState, NUnit.Framework.Interfaces.IPropertyBag.Set(), NUnit.Framework.Internal.PropertyNames.SkipReason, and NUnit.Framework.Internal.TestSuite.Sort().
|
staticprivate |
|
private |
The default suite builder used by the test assembly builder.