Dashboard > GreenPepper Server > ... > NAnt > NAnt - Guide
 GreenPepperThis Space is not registered in GreenPepper Server.

The GreenPepper NAnt tasks are used during the Integration test phase of the build life cycle to execute the specifications of an application. They generate reports in plain HTML file format (*.html). By default, these files are generated in:
$basedir.

Tasks overview

There are two GreenPepper NAnt tasks:

  • <greenpepper>: Executes the specifications and generates reports
  • <freeze>: Downloads the specifications locally



Usage

To use the NAnt Tasks for GreenPepper, you must load task extensions assembly: GreenPepper.Extensions.dll
To do so, you have to indicate in the "target" task where you need to use the GreenPepper's tasks:

<loadtasks assembly="${dependencies.dir}/GreenPepper.Extensions.dll" /> 


Examples

To better understand the usages of the GreenPepper NAnt tasks, take a look at the following examples:

<target name="execute" description="execute GreenPepper specifications">
  <loadtasks assembly="${bin.dir}/../Extensions/bin/debug/GreenPepper.Extensions.dll" /> 
  <!-- GreenPepper's tasks can be written there -->
  <!-- ....... -->
</target>
Be Careful

If your project has a dependency on GreenPepper.Extensions, make sure your project reference on GreenPepper.Extensions and the NAnt GreenPepper.Extensions assembly, reference the same file

© Pyxis Technologies Inc.. All rights reserved. GreenPepper® is registered to Pyxis Technologies inc.