Access Keys:
Skip to content (Access Key - 0)
 

3. Use

Running specifications

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 Debug configuration works the same way.
  Then create a new GreenPepper Specification


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.


III. Results

  Running the specification will give you a result like this one


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

IV. Text Result

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


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

Repository view

You can view all the specifications for your project using the repository view.

Show the repository view window

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


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

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 ...

  project
GreenPepperised
  Repositories
A JIRA Repository
A Confluence Repository
A XWiki Repository
A Remote File Repository
A Local directory
  Documents
Plain
Executable
Working differs from the Implemented copy
Working copy
Broken Reference
  Actions
Will tell Eclipse to work on the Working copy of the Document(s)
Will tell Eclipse to work on the Implemented copy of the Document(s)
Will Ask the Repository to MERGE the Working copy with the
Implemented copy of the Document(s)
Executes all the selected Documents
Executes The selected Document
Reloads The selected Document from the repository
Opens a Fixture class Creation Wizard to generate the Fixture and its needed components (v. BETA only)
Refreshes the Tree
By default Eclipse will work on the Implemented copy of the document.


Keyboard shortcuts

Keyboard shortcuts with Eclipse plugin (GreenPepper Open Documentation Refactoring )
Repository view with Eclipse plugin (GreenPepper Open Documentation Refactoring )
Running specifications with Eclipse plugin (GreenPepper Open Documentation Refactoring )

Adaptavist Theme Builder (3.1.4) Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007)
Free theme builder license