The Gallio type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Gallio |
Default constructor.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Execute |
When overridden in a derived class, executes the task.
(Overrides Task..::.Execute()()().) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| ApplicationBaseDirectory | Gets or sets the relative or absolute path of the application base directory, or null to use a default value selected by the consumer. If relative, the path is based on the current working directory, so a value of "" causes the current working directory to be used. The default is null. | |
| AssertCount |
Gets the number of assertions evaluated.
| |
| BuildEngine |
Gets or sets the instance of the IBuildEngine object used by the task.
(Inherited from Task.) | |
| Debug | Attaches the debugger to the test process when set to true. The default is false. | |
| DoNotRun |
Sets whether to load the tests but not run them. This option may be used to produce a
report that contains test metadata for consumption by other tools.
| |
| Duration |
Gets the duration of the tests execution in seconds.
| |
| EchoResults |
Sets whether to echo results to the screen as tests finish. If this option is set
to true, the default, test results are echoed to the console
in varying detail depending on the current verbosity level. Otherwise
only final summary statistics are displayed.
| |
| ExitCode |
Gets the exit code of the tests execution.
| |
| FailedCount |
Gets the total number of test cases that were run and failed.
| |
| Files |
The list of relative or absolute paths of test files, projects and assemblies to execute.
Wildcards may be used. This is required.
| |
| Filter | Sets the filter set to apply, which consists of a sequence of one or more inclusion or exclusion filter rules prefixed using 'include' (optional) or 'exclude'. | |
| HelpKeywordPrefix |
Gets or sets the prefix used to compose Help keywords from resource names.
(Inherited from Task.) | |
| HintDirectories |
The list of directories used for loading referenced assemblies and other dependent resources.
| |
| HostObject |
Gets or sets the host object associated with the task.
(Inherited from Task.) | |
| IgnoreAnnotations | Sets whether to ignore annotations when determining the result code. If false (default), then error annotations, usually indicative of broken tests, will cause a failure result to be generated. | |
| IgnoreFailures |
Sets whether test failures will be ignored and allow the build to proceed.
When set to false, test failures will cause the build to fail.
| |
| InconclusiveCount |
Gets the total number of test cases that ran and were inconclusive.
| |
| Log |
Gets an instance of a TaskLoggingHelper class containing task logging methods.
(Inherited from Task.) | |
| PassedCount |
Gets the total number of test cases that were run and passed.
| |
| PluginDirectories |
Additional Gallio plugin directories to search recursively.
| |
| ReportArchive |
Sets the report archive mode.
| |
| ReportDirectory |
Sets the name of the directory where the reports will be put.
| |
| ReportFormatterProperties |
Specifies option property key/value pairs for the report formatter.
| |
| ReportNameFormat |
Sets the format string to use to generate the reports filenames.
| |
| ReportTypes |
A list of the types of reports to generate, separated by semicolons.
| |
| RunCount |
Gets the total number of test cases that were run.
| |
| RunnerExtensions | Specifies the type, assembly, and parameters of custom test runner extensions to use during the test run in the form: '[Namespace.]Type,Assembly[;Parameters]'. eg. 'FancyLogger,MyCustomExtensions.dll;SomeParameters' | |
| RunnerProperties |
Specifies option property key/value pairs for the test runner.
| |
| RunnerType |
Sets the type of test runner to use.
| |
| RunTimeLimit |
Sets the maximum amount of time (in seconds) the tests can run
before they are canceled. The default is an infinite time to run.
| |
| RuntimeVersion | Gets or sets the version of the .Net runtime to use for running tests. For the CLR, this must be the name of one of the framework directories in %SystemRoot%\Microsoft.Net\Framework. eg. 'v2.0.50727'. The default is null which uses the most recent installed and supported framework. | |
| ShadowCopy | Enables shadow copying when set to true. Shadow copying allows the original assemblies to be modified while the tests are running. However, shadow copying may occasionally cause some tests to fail if they depend on their original location. The default is false. | |
| ShowReports |
Sets whether to show generated reports in a window using the default system application
registered to the report file type.
| |
| SkippedCount |
Gets the total number of test cases that did not run because they were skipped.
| |
| StepCount |
Gets the total number of test steps run.
| |
| TaskResources |
Gets or sets the culture-specific resources associated with the task.
(Inherited from Task.) | |
| TestCount |
Gets the total number of test cases run.
| |
| Verbosity |
The verbosity to use when logging. The default is "Normal".
| |
| WorkingDirectory | Gets or sets the relative or absolute path of the working directory or null to use a default value selected by the consumer. If relative, the path is based on the current working directory, so a value of "" causes the current working directory to be used. The default is null. |
