About Classification Tree Method
By the classification tree method, you can model the input conditions of the test item in the tree form and then create test cases. This method helps you organize the conditions mutually exclusive and collectively exhaustive and increase the test coverage. You can use it in the many situations of functional testing to specify the combinations of the input conditions. For more information on classification tree method, please check this document.
About Classification Tree Method in GIHOZ
- Generate test cases: Click to generate the test cases from the test coverage items.
- Generate combinations: Click to generate test coverage items by the combination method selected from one-wise, pair-wise, and maximize.
- Editable area: Edit the classification tree in this area.
- Root:The root node of the classification tree. You can edit it but can't add or delete it.
- Classification: The node of the classification. You can edit, add or delete it. The classification should be added under the root or the classification.
- Class:The node of the class. You can edit, add or delete it. The class should be added under the classification.
- Test coverage item:Specify the combination of the classes. The test cases are generated from the test coverage items.
How to edit the classification tree
Double-click node and edit the name of it.
Click … on the root or the classification and click Add classification to add a new classification. You can also add it by right-clicking on the root or the classification.
Click … on the classification and click Add class to add a new class. You can also add it by right-clicking on the classification. If you want to move the position of a classification or class, you can do so by clicking … and then Move Left or Move Right. To delete an item, click … on the item you wish to delete and then click Delete. Alternatively, you can also delete an item by pressing Delete key with the item selected. To delete multiple items, hold down Shift or Ctrl key, click items you wish to delete, select multiple items, and press Delete key. The root node can't be deleted. To zoom in or out on the diagram, hold down Ctrl key and move mouse wheel up or down on editable area, or click on the area and press + or - key.
How to generate the test cases
Specify the class that is included in the test coverage item by clicking point at the intersection of the vertical line under the class with the horizontal line on the test coverage item and adding the black dot. You can specify only one class for each classification.
Click + to add a new test coverage item.
You can change the name of the test coverage item by double-clicking it.
To insert a test coverage item, right-click it and click Insert 1 above or Insert 1 below. To delete a test coverage item, right-click it and click Remove the test coverage item.
Click Generate test cases to generate the test cases from the test coverage items.
The created test cases can be freely edited. By clicking Download CSV, you can download the created test cases in CSV format.
How to generate the test coverage items automatically
You can generate the test coverage items using the combination technique of one-wise, pair-wise or maximize by clicking Generate combinations.
Select which one and click OK. Then, click Generate test cases to update the test cases.