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
Gives net.jqwik.api.CannotFindArbitraryException: Cannot find an Arbitrary [customerIds] for Parameter of type [@net.jqwik.api.ForAll(value="customerIds", supplier=net.jqwik.api.ArbitrarySupplier$NONE.class) String]
The text was updated successfully, but these errors were encountered:
At second glance it works as designed :-)
Provider methods from domains are not being looked up by name but by type. That means that all you have to do is:
However, the purpose of DomainContext being to group arbitrary providers, arbitrary configurators and reporting formats in order to share them, this design leads to a problematic limitation in my opinion. You may want to have different providers for the same type and differentiate using names, and this use case is really cumbersome with the current design. The domain context is only really useful if it has has all the features and the same behaviours as "inline" declarations.
Testing Problem
Gives
net.jqwik.api.CannotFindArbitraryException: Cannot find an Arbitrary [customerIds] for Parameter of type [@net.jqwik.api.ForAll(value="customerIds", supplier=net.jqwik.api.ArbitrarySupplier$NONE.class) String]
The text was updated successfully, but these errors were encountered: