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:42] admin [Generate DataTable] |
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]]. | ||
- | === Variables === | + | Dataset is assigned to state and transition |
- | Variables are added by clicking on {{http:// | + | |
- | By default, fields are created to participate in the algorithm in generating test cases. | + | ---- |
- | Use the default (leave it blank) when creating non-verification field, which indicates that these fields | + | ==== Define Variables ==== |
+ | Variables | ||
- | 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// | + | * //Variable Name// - variables |
+ | * //Data Type// | ||
+ | * //Domain Values// - a list of discrete values to be used to generate (populate) [[# | ||
+ | * //Derived// - check this box to exclude | ||
+ | * //Coupling// - used to couple / tie this variable to another variable. For example CreditCardType and CreditCardNumber should be coupled together as CreditCardNumber for VISA must match CreditCardType of VISA. Variables coupled together must have the same number of //Domain// values. | ||
- | 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 [[# |
- | + | To generate | |
- | //Algorithm// - select from the drop down list of algorithms: | + | |
* pairwise | * pairwise | ||
* 3-wise | * 3-wise | ||
Line 36: | Line 37: | ||
* 5-wise | * 5-wise | ||
* 6-wise | * 6-wise | ||
- | * | ||
- | You can remove unwanted rows by clicking on {{http:// | ||
- | 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 | ||
+ | | ||
+ | |||
+ | |||
- | ---- |