SolAR: Automated test-suite generation for solidity smart contracts[Formula presented]

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

*Corresponding author for this work

Research output: Contribution to journalArticleScientificpeer-review

5 Citations (Scopus)

Abstract

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.

Original languageEnglish
Article number103036
JournalScience of Computer Programming
Volume232
DOIs
Publication statusPublished - Jan 2024

Keywords

  • Blockchain
  • Smart contract
  • Solidity
  • Testing

Fingerprint

Dive into the research topics of 'SolAR: Automated test-suite generation for solidity smart contracts[Formula presented]'. Together they form a unique fingerprint.

Cite this