Skip to content

Test Case Generation Strategy Details

Keith Swenson edited this page May 18, 2018 · 1 revision

If you are given a decision model, and want create tests for it, the following guidelines will be helpful:

Determining inputs for information requirements

  • Find all entries of tag "informationRequirement"
  • In each "informationRequirement" find tag "requiredInput"
  • Use value of tag "href" in "requiredInput" as the name of input reference
  • Search over all tags "inputData" in the model for one with "id" equal to input reference
  • Inside "inputData" find tag "variable" and get its attribute "typeRef"
  • Search over all tags "itemDefinition" for one with nested tag "name" equal to type reference (5)
  • If found item definition contains "itemComponent", process it recursively as described for nested component inputs in decision tables.
  • If not found , check for tag "variable" inside and interpret it as simple type same as in inputs in decision tables.
Clone this wiki locally