I'd love an AST-based mutation tester for Solidity. Basically, the tool would make contract source code changes and check if tests fail. Perks:
Most thorough code coverage metric
Easy to understand what changed
Recommends better practices
Mutation tester for Ruby
pic.twitter.com/zJNlQj9ZgE
-
-
As a proponent of mutation testing I cannot emphasize enough it does not replace a type system. But if you do unit tests, they are not reaching their potential without mutation testing.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Permissions: Try to remove every function modifier
Error handling: Prefer .transfer() over .call.value()
Bug finding: Tweak int literals to find off by one errors
Data types: Do you need uint256?
Visibility: Can this be private?