3.8.2.1 Using the library to create tests
Creating tests with Jubula is really just a matter of:
- Deciding how to structure your tests (i.e. what keywords to create and how to combine them 5.1).
- Choosing the Test Cases from the library (or from your own set of Test Cases ) that you need to create these keywords.
To use the Test Cases from the library, you will first need to create a Test Case of your own 3.8.1.
- Open the Test Case Editor by double-clicking on the Test Case you want to edit in the Test Case Browser .
- In the Test Case Browser , browse to a Test Case that you want to add. For help on finding your way around the library, see the later section 3.8.2.3.
- You can add the Test Case by dragging and dropping from the Test Case Browser to the Test Case Editor or you can right click on the Test Case in the Test Case Editor and select:
Reference Existing Test Case |
--> |
|
to see a list of all Test Cases that you can add to this Test Case .
![\includegraphics[height=2cm]{lightbulb}](img2.jpg) |
You can filter in this dialog using the field at the top. Use star "*" as a wild card. |
![\includegraphics[height=2cm]{lightbulb}](img2.jpg) |
You can open the dialog to reference an existing Test Case by pressing »ENTER« on a Test Case in the Test Case Editor . |
- Once you have added the Test Case , you will need to enter a component name in the Component Names View 3.10.2 and you will need to enter data for the Test Case in the Properties View 3.9.
![\includegraphics[height=2cm]{lightbulb}](img2.jpg) |
See the Best Practices section for information on how to best structure your Test Cases and tests 5.1.1.3. |
Copyright BREDEX GmbH 2011. Made available under the Eclipse Public License v1.0.