Summary
Defines a
ITask
that invokes OpenCover with a given unit testing framework.
- Namespace
- NBuildKit
.MsBuild .Tasks .Testing - Base Types
graph TD
Base0["CommandLineToolTask"]-->Type
click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/CommandLineToolTask"
Base1["BaseTask"]-->Base0
click Base1 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask"
Base2["Task"]-->Base1
Type["OpenCover"]
class Type type-node
Syntax
public sealed class OpenCover : CommandLineToolTask
Constructors
Name | Summary |
---|---|
OpenCover |
Initializes a new instance of the OpenCover class.
|
OpenCover |
Initializes a new instance of the OpenCover class.
|
Properties
Name | Value | Summary |
---|---|---|
BinDirectory | ITaskItem |
Gets or sets the full path to the directory containing the binaries.
|
DefaultDataHandler | Data |
Gets the event handler that processes data from the data stream, or standard output stream, of
the command line application.By default logs a message for each output.
Inherited from CommandLineToolTask
|
DefaultErrorHandler | Data |
Gets the event handler that processes data from the data stream, or standard output stream, of
the command line application.By default logs a message for each output.
Inherited from CommandLineToolTask
|
ErrorInformation | ITaskItem[] |
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
|
Log |
bool |
Gets or sets a value indicating whether the environment variables for the process should be logged.
Inherited from CommandLineToolTask
|
Open |
string |
Gets or sets the full names of the attributes which mark code as excluded from code coverage.
|
OpenCoverExe | ITaskItem |
Gets or sets the full path to the OpenCover command line executable.
|
OpenCoverFilters | string |
Gets or sets the filters for OpenCover
|
OpenCoverOutput | ITaskItem |
Gets or sets the full path to the directory into which OpenCover should write the output.
|
UnitTestArguments | string |
Gets or sets the arguments that should be passed to the unit testing framework.
|
UnitTestExe | ITaskItem |
Gets or sets the full path to the command line executable for the unit testing framework.
|
Methods
Name | Value | Summary |
---|---|---|
ErrorCodeById |
string |
Returns the error code for the given ID.
Inherited from BaseTask
|
Execute |
bool | |
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetFullToolPath |
string |
Returns the most complete path for the given executable tool. May return just the name of the tool if the tool path is found via the
PATH environment variable.
Inherited from CommandLineToolTask
|
GetFullToolPath |
string |
Returns the most complete path for the given executable tool. May return just the name of the tool if the tool path is found via the
PATH environment variable.
Inherited from CommandLineToolTask
|
Invoke |
int |
Invokes the command line tool at the given path with the given arguments.
Inherited from CommandLineToolTask
|
Invoke |
int |
Invokes the command line tool at the given path with the given arguments.
Inherited from CommandLineToolTask
|
Update |
void |
Updates the environment variables for the application prior to execution.
Inherited from CommandLineToolTask
|
Verbosity |
string |
Gets the verbosity that the current MsBuild instance is running at.
Inherited from BaseTask
static
|