Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ide_dataset [2020/05/03 15:39] admin [Create DataSet] |
ide_dataset [2020/05/10 02:20] admin [IDE DataSet Editor] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== IDE DataSet Editor ===== | ===== IDE DataSet Editor ===== | ||
- | //IDE DataSet Editor// allows you to create and edit the //dataset// for a state or transition. | + | //IDE DataSet Editor// allows you to create and edit the //dataset// for a state or transition. |
It supports combinatorial test generation algorithms including // | It supports combinatorial test generation algorithms including // | ||
- | {{ wiki: | + | {{wiki: |
---- | ---- | ||
Line 10: | Line 10: | ||
To create a dataset, click on " | To create a dataset, click on " | ||
+ | New dataset created is automatically added to the dataset drop-down list for [[State Properties]] and [[Transition Properties]]. | ||
- | === DataSet Attributes==== | + | Dataset is assigned to state and transition by name. If dataset is renamed after it's assigned to a state or transition, you must re-assign |
- | * // | + | |
- | * pairwise | + | |
- | * 3-wise | + | |
- | * 4-wise | + | |
- | * 5-wise | + | |
- | * 6-wise | + | |
- | === Variables === | + | ---- |
- | Variables are added by clicking on {{http:// | + | |
- | By default, fields | + | ==== Define Variables ==== |
+ | Variables | ||
- | Use the default | + | * //Variable Name// - variables must have unique names and preferably legal java variable names |
+ | * //Data Type// - appropriate data type must be selected especially if the variables are referenced by //Derived// variables | ||
+ | * //Domain Values// - a list of discrete values to be used to generate | ||
+ | * // | ||
+ | * // | ||
- | In some cases a group of field may be related to each other and they must choose the related value from the list. For example if you have //Credit Card Type// and //Credit Card Number// fields added to the dataset and defined a list of credit card types like visa/ | ||
- | |||
- | By sharing the same group id, fields will take the values from their lists at the same position. | ||
- | |||
- | You can delete field by clicking on {{http:// | ||
---- | ---- | ||
====Generate DataTable==== | ====Generate DataTable==== | ||
- | Once you have the fields defined, you can generate the dataset for the fields by clicking on the //regenerate// link. | + | //DataTable// displays the output of the execution of [[# |
- | You can remove unwanted rows by clicking on {{http://testoptimal.com/img/delete.png}}. Each field in the datatable can be edited as you wish. | + | To generate |
+ | * pairwise | ||
+ | * 3-wise | ||
+ | * 4-wise | ||
+ | * 5-wise | ||
+ | * 6-wise | ||
- | If you have verification field(s), they will be left blank. | + | You may customize |
+ | * remove rows - invalid permutations (rows) | ||
+ | * add rows - additional required permutations | ||
+ | * edit values - change value, usually done for derived variables | ||
- | During | + | Be aware that any changes to // |
---- | ---- | ||
==== Usage ==== | ==== Usage ==== | ||
- | Dataset can be assigned to a state or transition | + | Dataset can be assigned to a state or transition. They are automatically |
- | The rows in the dataset are retrieved and used as the states and transitions are traversed. | + | The rows in the dataset are retrieved and used as the states and transitions are traversed. |
+ | $SYS.getData(' | ||
+ | |||
+ | To access the dataset outside | ||
+ | | ||
+ | |||
+ | |||
- | ---- |