Explores and runs tests in a test package.

Namespace:  Gallio.Runner
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
Report Run(
	TestPackage testPackage,
	TestExplorationOptions testExplorationOptions,
	TestExecutionOptions testExecutionOptions,
	IProgressMonitor progressMonitor
)
Visual Basic (Declaration)
Function Run ( _
	testPackage As TestPackage, _
	testExplorationOptions As TestExplorationOptions, _
	testExecutionOptions As TestExecutionOptions, _
	progressMonitor As IProgressMonitor _
) As Report

Parameters

testPackage
Type: Gallio.Model..::.TestPackage
The test package.
testExplorationOptions
Type: Gallio.Model..::.TestExplorationOptions
The test exploration options.
testExecutionOptions
Type: Gallio.Model..::.TestExecutionOptions
The test execution options.
progressMonitor
Type: Gallio.Runtime.ProgressMonitoring..::.IProgressMonitor
The progress monitor.

Return Value

The test report.

Remarks

Returns a report that contains test package, test model and test run data.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if testPackage, testExplorationOptions, testExecutionOptions, or progressMonitor is null.
Gallio.Runner..::.RunnerExceptionThrown if the operation failed.
System..::.ObjectDisposedExceptionThrown if the runner has been disposed.

See Also