@PaulRBerg If your target is unit or integration tests, you can give a try to github.com/VGLoic/eth-tes… :)
The goal is to use a mock for the underlying EIP-1193 provider(s) the application is using
I will happily take feedbacks on this!
Testing in Web3 is a complex task.
Mocking libraries such as ethers/web3js is hard and push the tests away from user like interactions.
Eth-Testing directly mocks the Eth provider level and allows for tests closer to how your software is really used.
github.com/VGLoic/eth-tes…
GitHub - VGLoic/eth-testing: A set of tools in order to generate a mock Web3 Provider and simulate blockchain interactions in tests github.com/VGLoic/eth-tes…