DataGenerator
DataGenerator copied to clipboard
Let's enhance Equivalence classes with '%all*' types.
Let's create special ECs for generation multiple values. Current EC replace tag with one value, but sometimes it make sense to generate multiple value (like 'dg:assign').
We can add 'repeat' property for specification of necessary number of values. It can be number or 'all' for cases with limited number of values.
For example:
- '%regexp(
) repeat=3' will generate 3 values for given regexp expression - '%stateShort repeat=all' will generate 51 values with all states
- '%stateShort repeat=7' will generate 7 values with randomly selected states
What do you think?
Holding off on this for now. This feature is implemented somewhat in the upcoming DGJSON tool and website. If we want to pull some feature into the common lib and/or SCXML tool, we can revisit.