IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
ITestEngine represents an instance of the test engine. Clients wanting to discover, explore or run tests start require an instance of the engine, which is generally acquired from the TestEngineActivator class. More...
Public Member Functions | |
void | Initialize () |
Initialize the engine. This includes initializing mono addins, setting the trace level and creating the standard set of services used in the Engine. More... | |
ITestRunner | GetRunner (TestPackage package) |
Returns a test runner instance for use by clients in discovering, exploring and executing tests. More... | |
Properties | |
IServiceLocator | Services [get] |
Gets the IServiceLocator interface, which gives access to certain services provided by the engine. More... | |
string | WorkDirectory [get, set] |
Gets and sets the directory path used by the engine for saving files. Some services may ignore changes to this path made after initialization. The default value is the current directory. More... | |
InternalTraceLevel | InternalTraceLevel [get, set] |
Gets and sets the InternalTraceLevel used by the engine. Changing this setting after initialization will have no effect. The default value is the value saved in the NUnit settings. More... | |
ITestEngine represents an instance of the test engine. Clients wanting to discover, explore or run tests start require an instance of the engine, which is generally acquired from the TestEngineActivator class.
void NUnit.Engine.ITestEngine.Initialize | ( | ) |
Initialize the engine. This includes initializing mono addins, setting the trace level and creating the standard set of services used in the Engine.
This interface is not normally called by user code. Programs linking only to the nunit.engine.api assembly are given a pre-initialized instance of TestEngine. Programs that link directly to nunit.engine usually do so in order to perform custom initialization.
Implemented in NUnit.Engine.TestEngine.
ITestRunner NUnit.Engine.ITestEngine.GetRunner | ( | TestPackage | package | ) |
Returns a test runner instance for use by clients in discovering, exploring and executing tests.
package | The TestPackage for which the runner is intended. |
Implemented in NUnit.Engine.TestEngine.
Referenced by NUnit.ConsoleRunner.ConsoleRunner.ExploreTests(), and NUnit.ConsoleRunner.ConsoleRunner.RunTests().
|
get |
Gets the IServiceLocator interface, which gives access to certain services provided by the engine.
Referenced by NUnit.Engine.Api.Tests.ServiceLocatorTests.CanAccessService(), and NUnit.ConsoleRunner.ConsoleRunner.ConsoleRunner().
|
getset |
Gets and sets the directory path used by the engine for saving files. Some services may ignore changes to this path made after initialization. The default value is the current directory.
Referenced by NUnit.ConsoleRunner.Program.Main().
|
getset |
Gets and sets the InternalTraceLevel used by the engine. Changing this setting after initialization will have no effect. The default value is the value saved in the NUnit settings.
Referenced by NUnit.Engine.Api.Tests.ServiceLocatorTests.CreateEngine(), NUnit.Engine.Services.ResultWriters.Tests.XmlOutputTest.InitializeTestEngineResult(), and NUnit.ConsoleRunner.Program.Main().