You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However what if I would like to put two @From(value = RegexStringGenerator.class, frequency = 40) instances?
Then it would be kind of problematic to assign two @RegExp instances.
The same goes for "two @Size" case and so on. How quickcheck would know which regexp configures which generator?
Consider a case when multiple
@From
are used:So far so good.
However what if I would like to put two
@From(value = RegexStringGenerator.class, frequency = 40)
instances?Then it would be kind of problematic to assign two
@RegExp
instances.The same goes for "two
@Size
" case and so on. How quickcheck would know which regexp configures which generator?In case you wondered, meta-meta does not help:
I'm not sure "annotation programming" is the way to go here, however it would be really nice if something could be made around that case.
It would probably make sense if "the closest"
Regex
annotation was resolved for each generator.The text was updated successfully, but these errors were encountered: