Hacker News new | ask | show | jobs
by anc84 3941 days ago
But don't you generate the test input from what your test ends up accepting? I don't see the point.
1 comments

That's true if your validation exists in a vacuum. But if you have a picky black box backend and the input validation you quickly made up allows strings that the backend chokes on, this is the way to validate the validation regex.