Papers1 provider Ā· 1 record
October 28, 2021Ā· 2021 11th International Conference on Computer Engineering and Knowledge (ICCKE)
conference-paper

TestSmart: A Tool for Automated Generation of Effective Test Cases for Smart Contracts

Authors:Mahdi FooladgarAmin ArefzadehFathiyeh Faghih

Abstract

Ethereum Smart contracts are pieces of code that are run on this blockchain. The correctness of smart contracts is important as they are immutable, their source can be seen by everyone, and they transfer Ether. In this paper, we propose a framework for the automated generation of a set of effective test cases for a given smart contract. We use symbolic execution for generation and mutation testing for selection of test cases. We have evaluated our tool on a set of smart contracts, and our results show how mutation can reduce the size of test suites generated by symbolic execution. Also, by analyzing the survived mutants, we have interesting results about effective test cases that cannot be generated by the symbolic execution engine for smart contracts.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.