Test Cases are the reusable units in Jubula . Test Cases can be referenced in other Test Cases to create modularly built tests.
Being able to reuse Test Cases means that you should put some thought into how to design them so that they are as specific as they need to be while also being generic enough to reuse in different situations.
You can improve the flexibility of a Test Case by:
- Using references 3.9.3 instead of concrete data if the data can change. References allow you to feed a Test Case with different data each time you reuse it.
- Using the abstract components (e.g. component with text, component with text input, graphics component) 7.7.0.1 to specify your tests wherever possible.
- Allowing the component it tests to be defined when you reuse it 3.10.2.
Subsections
Copyright BREDEX GmbH 2011. Made available under the Eclipse Public License v1.0.