CosmWasm / cw-multi-test

CosmWasm multi-contract testing framework
Apache License 2.0
42 stars 38 forks source link

Fuzz testing capabilities #24

Open Silverse opened 1 year ago

Silverse commented 1 year ago

Integrating fuzz testing as part of a testing suite will allow devs to catch edge cases easily, by improving traditional unit-testing or integration testing. Something along the lines of how Foundry does it for Solidity contracts https://book.getfoundry.sh/forge/fuzz-testing

From a security point of view it will be a very helpful tool. Would you consider this feature for a future release?

hashedone commented 1 year ago

I would love to see this, but it is not a simple thing to do. For sure, I would consider it, but I think that that kind of thing deserves a well-thought design to provide actual safety measurements, not just a good mood of the dev, so that his contracts pass regression.

Long story short - yes, I would consider that. No, I will not expect it soon.

Silverse commented 1 year ago

That is what I thought! still, wanted to at least share the idea. Thanks for your efforts ser!!

DariuszDepta commented 7 months ago

To be considered to implement in version 2.0.0