SolAR: Automated test-suite generation for solidity smart contracts

S. W. Driessen, D. Di Nucci, D. A. Tamburri,W. J. Van den Heuvel

SCIENCE OF COMPUTER PROGRAMMING(2024)

引用 0|浏览0
暂无评分
摘要
Smart contracts have rapidly gained popularity as self-contained pieces of code, especially those run on the Ethereum blockchain. On the one hand, smart contracts are immutable, have transparent workings, and execute autonomously. On the other hand, these qualities make it essential to properly test the behavior of a smart contract before deploying it. In this paper, we introduce SOLAR, a tool and approach for Solidity Automated Test Suite GeneRation. SOLAR allows smart contract developers to generate test suites for Solidity smart contracts optimized automatically for branch coverage using either a state-of-the-art genetic algorithm or a fuzzing approach. It enables a novel way to handle blockchain operations-or ChainOps-from a pipeline perspective, entailing a larger-scale as well as more manageable and maintainable service continuity.
更多
查看译文
关键词
Blockchain,Smart contract,Testing,Solidity
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要