What we support
The GreenPepper Fit compliance supports all Fit fixtures :
- ActionFixture
- ColumnFixture
- RowFixture
What we don't support
Our compliance has some limits,
- 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
- 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.
- Take your Fitness specification in wiki format
- Add a new page on Confluence
- Paste in your previously copied Fitness specification
Now, your document needs some changes to be done
- Delete everythings on your document that is not standard text or specification tables
- Delete the ! character in front of all your fixtures names
- 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.
- Get your Fit specification in html format
- Delete everythings on your document that is not standard text or specification tables
Using GreenPepper on Confluence
- Get in your Confluence space admin
- Get in GreenPepper configuration
- Add a new Runner (see GP:GreenPepper Runners Configuration to do this)
- Add in your runner command line the option --selector com.greenpepper.extensions.fit.FitInterpreterSelector
- 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
- Be sure to add the Fit.jar, greenpepper-extension-fit.jar and your fixtures libraries in your classpath (see Executing a Specification in Java)
- Add this option on your command line --selector com.greenpepper.extensions.fit.FitInterpreterSelector
- Be sure to add the Fit.dll, Greenpepper.Extension.FIT.dll and your fixtures assemblies in your classpath (see Executing a Specification in .NET)
- Add this option on your command line --selector GreenPepper.Fit.FitInterpreterSelector