Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Tests with generated input. Call it what you like.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: