Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Eclipse, choose Help/Software Updates/Find and Install.

Image RemovedImage Added

Step 2

Select Add... button to add a new remote site.

Image RemovedImage Added

Step 3

To update the plugin enter following link: http://www.novatec-gmbh.de/updatesite/aqe

Image RemovedImage Added

Step 4

In the tree of available updates select GreenPepper Development Tools and click Next >.

Image RemovedImage Added

Step 5

Click Next > button in the Install Details window.

Image RemovedImage Added

Step 6

You have to accept the terms of the license agreement to be able to proceed with the installation. You are now ready for the installation, click Finish.

Image RemovedImage Added

Step 8

Once the download manager has started downloading, you see the Security Warning popup. The authenticity of software can not be established. You have to click Ok to continue with the installation.

Image RemovedImage AddedImage Removed

Image Added

 

Step 9

After the installation you must restart the Eclipse workbench, for the plugin to be available within the application.

Image RemovedImage Added

Checking the installation

You should now see the GreenPepper menu on the toolbar.

Image RemovedImage Added


Select Installation Details menu from Help to check the correct installation of the plugin.

Image RemovedImage Added

Updating

You can see the current installed version of the plugin and a link for checking for updates.

Image RemovedImage Added


Alternative: Select the first option in step 2.

...

First, you have to configure where the plugin can find the GreenPepper Server.  This is done in Window >> Preferences.

Image Removed


 Image Added

Enter the URL for the server :

Enter the XML-RPC handler. (For now only greenpepper1 is available.).   You can test the connection by clicking on the Test Connection button. 

Image Added

II. Project configuration

...

Info

Only Java projects can be GreenPepperised.

Image Added


  Once your project has been GreenPepperised, check its properties (right-click Project/Properties).

Image Added


  You should now have a GreenPepper property page with two sub-pages.

...

  In the GreenPepper page, you will identify your Eclipse project to a System Under Test (under development).
  By doing so, you will see all the associated specification repositories. You will be able to enter your own credentials
  for each of these repositories. Optional
  You will also need to configure your runner location. Mandatory

Image Added


  The local repository page associates your project to local specification directories accessible with your computer.

Image Added


  The advanced settings let you override the SystemUnderDevelopment class that resolves the fixture and domain classes.
  Make sure your class is in a library that resides in your runner directory. The arguments are seperated by ";" and will be passed to
  the constructor. Please see the command line options.
  You will be able to add additional options to the command line and append additional JVM parameters.

Image Added


  You are now ready to execute specification documents on your development code.

...

A GreenPepper project, inside Eclipse, is a JavaProject.
When you greenpepperised a Java project, you gain access to Run
To validate that your project developement code respect the example in the specifications, you create a new Run Configuration.

I. Run Configuration

  The The Debug configuration works the same way.
  Then   Then create a new GreenPepper Specification 

Image Added

II. Inputs

  1. Project
    Your eclipse project to launch the specification on.
  2. Repository UID
    The remote Repository UID (None if local)
  3. Document Repository base URL
    The Repository URL (Or directory path if local)
  4. Document Repository Class
    • com.greenpepper.repository.FileSystemRepository for files
    • com.greenpepper.runner.repository.AtlassianRepository for Jira/Confluence
    • com.greenpepper.runner.repository.VFSRepository for zip ...
  5. Username
    If Authentication is need for the Repository access
  6. Password
    If Authentication is need for the Repository access
  7. Specification
    The Specification name (Document name)
  8. Current Version
    If versioning is handled, aim for the latest version of the document.

 Image Added

III. Results

  Running the specification will give you a result like this one

Image Added
  Notice that the html result file was added to your project files.

...

  If the window displayed shows html in a text format, check your Open With setting for the html file

Image Added


  You need the Browser support plugin to be able to see the html page inside an Eclipse Editor.

...

There is two ways to access the repository view.
1) From the GreenPepper menu

 Image Added

2) From the eclipse standard view selection.
    First choose Show View-Other
    Then choose GreenPepper RepositoryView

...

Image Added

The Repository View

  The Repository view is a JUnit like view.
  You will be able to launch executions, view documents and results and work on both Implemented and Working copies of the documents.
  Careful ! the Green bar might be addictive after a while ...

...

 By default Eclipse will work on the Implemented copy of the document.

Image Added

 

Image Added

Keyboard shortcuts

Image Added

4. FAQ

I cannot see the GreenPepper property page for my project.

...