This class puts the data from class Testspecification into a table of strings.
This are the data in the table:
header #1
header #2
TeststepNode,TeststepRule,TeststepRule,TeststepRule ...
TeststepNode,TeststepRule,TeststepRule,TeststepRule ...
footer #1
...
With
TeststepNode=condition,name,probability
TeststepRule=decision,comparison,empty cell (the empty cell is for the test data)
and the headers and footer on top/bottom we get the fields:
["VALID"|"NOT VALID"],,,number of this rule in the decision table,,,number of this rule in the decision table,...
["VALID"|"NOT VALID"],,,1,,,2,...
condition,name,probability,decision,comparison,empty cell,decision,comparison,empty cell,...
condition,name,probability,decision,comparison,empty cell,decision,comparison,empty cell,...
,,,successor,,,successor,...
...
Calculate the number of columns:
A TeststepNode requires 3 columns as well as a TeststepRule.