Recommended Unit Testing & Property Testing

I come from Mocha and a bit of Chai, with JSVerify for property testing. I want to convert my tests to ReScript and found this one: for unit and this for property

Are there recommended ones or are these ok?


Screen Shot 2021-02-28 at 10.33.19 AM



@chenglou mentioned that there is a new testing utility coming out from the ReScript team.

I hope this will be a replacement for my current setup of Jest + @glennsl/bs-jest since I’ve been struggling with esmodules on tests.

1 Like

I’m using my fast-check library with bs-mocha in production. I am planning to investigate zora soon, but it would take a lot to convert our existing tests :man_shrugging:

1 Like

Any update on this? What are most people using for property-based testing?

My favorite testing library is hedgehog, so anything close to that would be great.


did you find anything?

I didn’t spend any more time looking, but I would shop amongst the javascript property testing options and create bindings for the one that you like.