Is there an "AllCombinations" convenience method in Verify? #1320
-
Hi, I've previously used this "test all combinations" feature in Approvals.Java https://gist.github.com/emilybache/0a3386840bf4c495ddfc0ad35e038575 and in python approvals https://gist.github.com/emilybache/93ff869d0946de862a6633d58dccd15f The idea is that with only a very small amount of test code you generate a lot of input combinations and verify them all. Is there an equivalent in Verify? I couldn't find it if so. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
currently no. although i am happy to consider a pull request that adds that feature |
Beta Was this translation helpful? Give feedback.
-
In case anyone is interested this is a solution that uses Verify to solve GildedRose: https://gist.github.com/emilybache/b7aef33a8fe449d47c0a194a9451bd3c |
Beta Was this translation helpful? Give feedback.
-
@emilybache i released a beta with a new experimental api https://github.com/VerifyTests/Verify/blob/main/docs/combinations.md thoughts? i will flesh out the docs shortly |
Beta Was this translation helpful? Give feedback.
currently no. although i am happy to consider a pull request that adds that feature