Explores and runs tests in a test package.
Namespace:
Gallio.RunnerAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if testPackage, testExplorationOptions, testExecutionOptions, or progressMonitor is null. |
| Gallio.Runner..::.RunnerException | Thrown if the operation failed. |
| System..::.ObjectDisposedException | Thrown if the runner has been disposed. |
