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

Enforce positive/negative samples for restricted_str #4

Open
luto opened this issue Feb 2, 2017 · 0 comments
Open

Enforce positive/negative samples for restricted_str #4

luto opened this issue Feb 2, 2017 · 0 comments

Comments

@luto
Copy link
Member

luto commented Feb 2, 2017

The restricted_str-type allows to supply a regex for string validation. This can get complex quite quickly. Currently there is no way to automatically test the supplied regex. Implement a mandatory testcases-parameter, which must contain at least one positive and one negative test case. The test cases are execute each time the parameter is loaded. If one of the tests fail, deny execution.

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

1 participant