3 ms·
> I almost always write generated tests at this point with unit tests being a fallback for slow code or niche cases. What I dont generally write though is fuzz
by masklinn 5y ago
> I almost always write generated tests at this point with unit tests being a fallback for slow code or niche cases. What I dont generally write though is fuzz tests, which would really be a 'next step'. In Rust it's not very hard to do so, but it hasn't quite hit the "trivial" mark yet for me, whereas quickcheck is virtually the same amount of work to use as to not use.
Did you mean generative tests? You're talking about quickcheck and that's what it does.
"Generated tests" would usually be interpreted as codegen'd test which you commit.
- staticassertion 5y agoTests with generated input. Call it what you like.