SolTG is an automated test generator for Solidity smart contracts, still under active development. Given Solidity smart contracts, it can automatically synthesize an executable test suite, aiming to achieve as high test coverage as possible. Its current approach is based on model checking: it marks locations in the program that need to be reached, and attempts to reach them using reachability analysis.
This approach is based on the SolCMC model checker, which constructs a CHC model of a Solidity smart contract. SolCMC is implemented in Python and C++ and built on top of the model checker FreqHorn, which is used for reachability analysis.
SolTG was presented at CAV 2024. Its repository can be found on GitHub: https://github.com/usi-verification-and-security/SolTG
Publications:
- SolTG: A CHC-based Solidity Test Case Generator, , Computer Aided Verification, (2024).





