FabricUnit: A Framework for Faster Execution of Unit Tests on Hyperledger Fabric
暂无分享,去创建一个
Enterprises and Governments, alike, are leveraging distributed ledger technologies to solve traditional problems across domains. They consider private blockchains such as Hyperledger Fabric as a safe bet for the obvious security and privacy reasons. However, the tools for software reliability are not yet matured. In this work, we propose FabricUnit, a unit testing framework for Hyperledger Fabric clients. FabricUnit identifies the safe methods that do not alter the state and re-uses the setup execution (deleting any stale data and reinitializes the data). Our experiment shows a reduction of approximately 30% in the tests execution time.
[1] John Mylopoulos,et al. SolUnit: a framework for reducing execution time of smart contract unit tests , 2019, CASCON.
[2] Glenford J. Myers,et al. Art of Software Testing , 1979 .
[3] Andrea Pinna,et al. Blockchain-Oriented Software Engineering: Challenges and New Directions , 2017, 2017 IEEE/ACM 39th International Conference on Software Engineering Companion (ICSE-C).