Fork me on GitHub
#malli
<
2022-03-23
>
Carlo11:03:06

I'm looking into trying malli for my next project; is there some generative testing facility (I can't find it). How do you do generative testing?

Carlo11:03:42

thanks @dharrigan, so to check that a function respects the malli spec you have your own thing that generates arbitrary input data and then calls the function?

ikitommi11:03:25

If there are some evident tools missing (I think there are), please tell 🙂

🙌 1
Carlo11:03:53

yes thanks, I don't know how I missed this file while googling 😍

ikitommi11:03:44

also, you can get a test.check generator out of a schema with (malli.generator/generator my-schema).

🙌 1