A test case is used to verify a requirement based on an agreed property. Important for a test case is a detailed description of the preconditions, inputs, outputs, and instructions required for execution.
Test cases can be used before the release to check whether the specified requirements have been implemented with the required quality criteria.
Create test cases
You can enter test cases manually using a dialog, import them, model them in a diagram, or derive them from requirements.
If you want to know at a glance for which requirements or use cases test cases already exist, use queries. The project templates in objectiF RPM contain queries for test cases by default. You can find them in the Products window in the Analyses/ Queries package:
- Test case list
- Requirements with test cases
- Use cases with test cases
- Test cases with requirements
You can customize existing queries by hiding or displaying columns, or by changing the order of columns and column headers.
The stereotype of test case is << TestCase>>. You need the stereotype if you want to create document templates, queries, forms or search for a test case in the tool.
In the Stereotypes window you will find the stereotype TestCase under DomainElement. Below this are further sub-stereotypes, which you can extend or customize with user-defined properties. Properties, such as priority, identifier pattern, and so on, do not have to be defined separately for each sub-stereotype, since the properties are inherited from the main stereotype.
Context menu commands
With the context menu commands you can edit, export, share, create revisions and much more. The following context menu commands are available for test cases:
View | View test case
Opens the editing dialog in view mode.
Edit | Edit test case
Opens the editing dialog in write mode.
Allows you to change the state of a test case without opening the editing dialog.
Create Review | Create review for test case
Creates a review for the test case, which is displayed directly below the test case.
Shows all patterns that can be applied to the test case. Green icons indicate that the pattern is particularly suitable.
Pattern Catalog | Pattern catalog for test case
Opens the pattern catalog, which you can use to find out about all existing patterns.
Show Diagrams | Show diagrams with test cases
Opens a selection dialog where all diagrams containing the test case are displayed. If you select a diagram and click OK, the diagram opens.
Assign Activity Diagrams
Opens a selection dialog where you can assign an existing activity diagram to a test case.
Creates an activity diagram for the test case.
Allows you to create a test case variant. Other commands are also available that you can use to copy changes to the variant or test case to the test case or variant.
Allows you to create a revision. It also allows you to view, compare, and trace the history of a test case.
Allows the test case to be sent by link, e-mail or hyperlink.
If there are relationships between a test case and other requirements, or use cases, you can jump to the relevant element. The element is opened in a separate window on the right side of the screen.
Export | Export test case
Exports the test case to a sxmi file.
Deletes the test case from the project. The action cannot be undone.