IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Engine.ITestRunnerFactory Interface Reference

A Test Runner factory can supply a suitable test runner for a given package More...

+ Inheritance diagram for NUnit.Engine.ITestRunnerFactory:

Public Member Functions

ITestEngineRunner MakeTestRunner (TestPackage package)
 Return a suitable runner for the package provided as an argument More...
 
bool CanReuse (ITestEngineRunner runner, TestPackage package)
 Return true if the provided runner is suitable for reuse in loading the test package provided. Otherwise, return false. Runners that cannot be reused must always return false. More...
 

Detailed Description

A Test Runner factory can supply a suitable test runner for a given package

Member Function Documentation

ITestEngineRunner NUnit.Engine.ITestRunnerFactory.MakeTestRunner ( TestPackage  package)

Return a suitable runner for the package provided as an argument

Parameters
packageThe test package to be loaded by the runner
Returns
A TestRunner

Implemented in NUnit.Engine.Services.DefaultTestRunnerFactory, and NUnit.Engine.Services.InProcessTestRunnerFactory.

bool NUnit.Engine.ITestRunnerFactory.CanReuse ( ITestEngineRunner  runner,
TestPackage  package 
)

Return true if the provided runner is suitable for reuse in loading the test package provided. Otherwise, return false. Runners that cannot be reused must always return false.

Parameters
runnerAn ITestRunner to possibly be used.
packageThe TestPackage to be loaded.
Returns
True if the runner may be reused for the provided package.

Implemented in NUnit.Engine.Services.DefaultTestRunnerFactory, and NUnit.Engine.Services.InProcessTestRunnerFactory.


The documentation for this interface was generated from the following file: