Dashboard > GreenPepperOpen > Documentation > Fit Compliance
  GreenPepperOpen Log In View a printable version of the current page.  
  Fit Compliance
Added by Laurent Cobos, last edited by Francois Denommee on Mar 20, 2009  (view change)
Labels: 
(None)

What we support

The GreenPepper Fit compliance supports all Fit fixtures :

  1. ActionFixture
  2. ColumnFixture
  3. RowFixture

What we don't support

Our compliance has some limits,

  1. We don't support for now all the mechanisms offered by base classes :
    You will not be able to use any protected variable like "args", or "cell"
    You will not be able to use Fit base classes functions if they are working with the specification
  2. We don't support the Fit.Summary but GreenPepper offers a similar system

We are compliant only with Fit version 1.1

How to run my Fit specifications on GreenPepper

1. Prepare your specification

Using GreenPepper on Confluence

The easy way to have your Fit specifications on Confluence is to have it in a wiki format like provided by Fitness.
Some changes have to be done because of Confluence wiki specificities.

  1. Take your Fitness specification in wiki format
  2. Add a new page on Confluence
  3. Paste in your previously copied Fitness specification

Now, your document needs some changes to be done

  1. Delete everythings on your document that is not standard text or specification tables
  2. Delete the ! character in front of all your fixtures names
  3. Make sure there is every time a space between two pipes | |

Using GreenPepper by command line

The GreenPepper command line is expecting an html document.

  1. Get your Fit specification in html format
  2. Delete everythings on your document that is not standard text or specification tables

2. Configure GreenPepper

Using GreenPepper on Confluence

  • In Java :
  1. Get in your Confluence space admin
  2. Get in GreenPepper configuration
  3. Add a new Runner (see GP:GreenPepper Runners Configuration to do this)
  4. Add in your runner command line the option --selector com.greenpepper.extensions.fit.FitInterpreterSelector
  5. Edit your Runner classpath by adding fit.jar and greenpepper-extensions-fit.jar if not already in.

Now you have a runner configured to be Fit compliant, to be ready to run your specifications you have to configure your Fixtures classpath in the space registration tab, see GP:System Under Test Configurationto do this.

  • In .Net :
    Everything is the same as in Java but the command line option which is --selector GreenPepper.Fit.FitInterpreterSelector and use Fit.dll and GreenPepper.Extensions.FIT.dll in your runner classpath

Using GreenPepper by command line

  • In Java :
  1. Be sure to add the Fit.jar, greenpepper-extension-fit.jar and your fixtures libraries in your classpath (see Executing a Specification in Java)
  2. Add this option on your command line --selector com.greenpepper.extensions.fit.FitInterpreterSelector
  • In .Net :
  1. Be sure to add the Fit.dll, Greenpepper.Extension.FIT.dll and your fixtures assemblies in your classpath (see Executing a Specification in .NET)
  2. Add this option on your command line --selector GreenPepper.Fit.FitInterpreterSelector
DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators