Most of the time spent writing tests will involve creating and editing Test Cases .
To create a Test Case , you must have created or opened a Project 3.4.
The Test Case Browser must also be visible. If it is not visible, change to the Functional Test Specification Perspective perspective and select:
Window |
--> |
Show View |
--> |
Test Case Browser |
.
- Create a Test Case by using the context-sensitive menu in the Test Case Browser :
.
 |
You can also create Test Cases with a double-click on the "Test Cases :" root entry or on a category in the Test Case Browser . |
- A dialog to name the Test Case will appear (3.14). Because Jubula is keyword-driven, it is important to name Test Cases meaningfully - you will be able to read your tests easily and quickly choose which Test Case you need 5.2.1.
Figure 3.14: New Test Case Dialog
|
- Click "OK".
- This creates a new Test Case with that name in the Test Case Browser 3.15.
Figure 3.15: Test Case in Test Case Browser
|
 |
See the Best Practices section for information on how to best structure your Test Cases and tests 5.1.1.3. |
Next steps
The next step is to add Test Cases from the library of Test Cases to this Test Case 3.8.2. You can also:
- Reuse this Test Case to form other Test Cases 3.7.2
- Edit its content in the Test Case Editor 3.7
- Add this Test Case to a Test Suite to be executed 3.7.2
- Use this Test Case as an Event Handler 3.18.
Copyright BREDEX GmbH 2011. Made available under the Eclipse Public License v1.0.