Forc could have an integrated mutation-testing tool. #924
Labels
enhancement
New feature or request
forc-test
Everything related to the `forc-test` lib and `forc test` command.
P: medium
testing
General testing
I propose adding mutation-testing capabilities to Forc.
There are a number of tools available now for mutation testing solidity, but the only one I’ve used personally is Vertigo.
For anyone not familiar, mutation testing is essentially a way of testing the quality of your tests themselves, which is a very helpful thing to check. It is very possible to have excellent test coverage, while also having poor-quality tests.
Background:
https://medium.com/swlh/introduction-into-mutation-testing-d6512dc702b0
Here's an open issue for mutation testing in the foundry repo with some great discussion around implementation details: foundry-rs/foundry#478
Other tools (solidity-specific):
Optionally, if Forc were made to support plugins, this could be added later by anybody, maybe even one of the authors of existing tools for Solidity.
The text was updated successfully, but these errors were encountered: