3.5.3 Reusing (referencing) whole Projects in a Project

Jubula lets you reuse (reference) Projects as libraries of Test Cases in other Projects .

To reuse Projects in Jubula :

  1. Make sure that the Project you want to reuse is in the Database .
  2. Select:
    Test --> Properties

    and select Used Projects from the tree on the left of the dialog that appears (3.6).

    Figure 3.6: Reused Projects
    Image reuseproject

  3. A list of Projects you can reuse will be offered on the left-hand side of the dialog. You can only reuse Projects which support the same toolkit as your current Project (e.g. Swing, Concrete).
    \includegraphics[height=2cm]{lightbulb} To be able to reuse a Project , you must have checked the reusable box in the Project properties for the Project 3.5.2.1.

  4. From the list of reusable Projects , select a Project and its version to reuse in the current Project . Use the arrows to move it to the list of reused Projects .
  5. Click "OK".
  6. The Test Cases from the Project you chose to reuse will appear in the Test Case Browser , under a category with the same name as the reused Project . The Test Cases will be colored blue to distinguish them from other Test Cases in this Project .

    \includegraphics[height=2cm]{lightbulb} You cannot edit these Test Cases here - but you can reuse them in your Test Cases for this Project and edit certain details (referenced parameters, component names) when they are reused in other Test Cases .

  7. You can change the version of the reused Project via the Used Projects Properties dialog, by clicking on the "change used version" button 3.5.3.1.



Subsections

Copyright BREDEX GmbH 2012. Made available under the Eclipse Public License v1.0.