Dashboard > GreenPepper Server > ... > HowTo's > HowTo - Binding artifacts to Confluence Space Registration
 GreenPepperThis Space is not registered in GreenPepper Server.

Prerequisites

Generating Jar artifact

  • First step will be to rename our Calculator class to Calculator2 to not interfer with the actual Calculator class of the Demo Space. From the Package Explorer in Eclipse, right-click on the Calculator class, select Refactor menu and then Rename menu. Specify the new name Calculator2 :
  • To create a Jar file of this project, select the menu File / Export :

We strongly suggest to use a build tool (like Maven, ANT, etc) to generate your artifacts of your project.

Configuration of a new SUT in Confluence

  • From the Space Admin of the Demo Space
  • Click on the link Add a new System Under Test, specify a name for this new SUT :
  • Click Save. Now we add the calculator.jar to the list of classpath. Click Edit link from the System Classpath. Add the location of the calculator.jar.

Associating the new SUT to the Calculator specification

  • From the Calculator page of the Demo Space, click the Configure link :
  • Click the Add link representing the new SUT name :
  • Click the Edit link at the right of the Execute button, select the new SUT :
  • We need to edit the page to specify the Calculator2 as our main fixture class :
  • Execute the specification by clicking the Execute button

Selecting our new SUT in Eclipse

  • Back in Eclipse, configure the project to use the new SUT :
  • The Repository view is now showing specification that are bound to this new SUT only. The icon of the Calculator page is different : since we did modify the specification, the Repository view is showing the Implemented version of the Calculator page.
  • To view the Working Copy (which is the latest version not implemented) of the Calculator page, right-click on the Calculator page and select Switch to Working Copy. You can later revert to the Implemented version using the menu Switch to Implemented copy
© Pyxis Technologies Inc.. All rights reserved. GreenPepper® is registered to Pyxis Technologies inc.