Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's enhance Equivalence classes with '%all*' types. #199

Open
yukaReal opened this issue Feb 10, 2015 · 1 comment
Open

Let's enhance Equivalence classes with '%all*' types. #199

yukaReal opened this issue Feb 10, 2015 · 1 comment
Assignees

Comments

@yukaReal
Copy link
Contributor

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?

@bryantrobbins
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants