<GreenPepperTask>
 | Be Careful
Available since GreenPepper 2.5.1 |
MSBuild task that executes GreenPepper specifications.
Parameters
| Attribute |
Type |
Description |
Required |
| Input |
string |
The specification to use as input, for a suite this is the GreenPepper UID that you can find in your GreenPeppper Confluence's Space Registration page |
True |
| Repository |
ITaskItem |
The repository to fetch specifications from |
True |
| Output |
string |
The path to produce reports (defaults to current directory) |
False |
| OutputType |
string |
The output type of report (defaults to plain) |
False |
| Suite |
bool |
It runs a suite rather than a single test (output must refer to a directory). Default value is false |
False |
| Appconfig |
string |
The application configuration file to use for the GreenPepper test domain. If none specified, will try all assemblies to see if there is a corresponding .config (only the first one will be use) |
False |
| SystemUnderDevelopment |
ITaskItem |
The system under development to execute |
False |
| Assemblies |
ITaskItem[] |
List of assemblies to use for execution. |
False |
| StopOnFirstFailure |
bool |
Stop the execution of the specification on the first failure. The default is false |
False |
| ContinueOnError |
bool |
It determines if the build should continue on task failure or if it must stop the build process. The default is true see MSBuild task |
False |
| Condition |
bool |
The task will be executed only if condition match see MSBuild task |
False |
Elements
<Repository>
| Attribute |
Type |
Description |
Required |
| Include |
Class |
Repository full class name |
True |
| Sub-element |
Type |
Description |
Required |
| Arguments |
Argument |
A set of repository arguments |
True |
<Arguments>
| Sub-element |
Type |
Description |
Required |
| Argument |
string |
repository argument like the Server Url |
True |
</Arguments>
</Repository>
<Assemblies>
| Attribute |
Type |
Description |
Required |
| Include |
string |
Assembly path |
True |
</Assemblies>
<SystemUnderDevelopment>
| Attribute |
Type |
Description |
Required |
| Include |
Class |
SystemUnderDevelopment full class name |
True |
| Sub-element |
Type |
Description |
Required |
| Arguments |
Argument |
A set of system under development arguments |
False |
<Arguments>
| Sub-element |
Type |
Description |
Required |
| Argument |
string |
system under developement argument |
True |
</Arguments>
</SystemUnderDevelopment>
Requirements
Assembly: GreenPepper.Extensions
Examples
GreenPepperRepository
FileSystemRepository