Guided, Automated Testing of Blockchain-based Decentralized Applications

被引:1
|
作者
Gao, Jianbo [1 ]
机构
[1] Peking Univ, Sch Elect Engn & Comp Sci, Beijing, Peoples R China
关键词
Dynamic Testing; Decentralized Application; Blockchain; Smart Contract;
D O I
10.1109/ICSE-Companion.2019.00059
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As blockchain-based decentralized applications (DApp) become increasingly popular recently, there is an urgent demand for effective testing schemes and tools. Due to the complexity introduced by application-blockchain interaction, existing testing methods become non-applicable. In this paper, we present a guided and automated framework called Sungari to test DApps. The insights behind Sungari are two-fold. First, we employ random events to infer an abstract relation between frontend and blockchain. Second, we use the relation to generate event sequnces in a guided manner that can cover blockchain smart contracts as quick as possible. In a real-world DApp case study, Sungari outperformed random approach by covering 33% more application use cases.
引用
收藏
页码:138 / 140
页数:3
相关论文
共 50 条
  • [1] Towards Automated Testing of Blockchain-based Decentralized Applications
    Gao, Jianbo
    Liu, Han
    Li, Yue
    Liu, Chao
    Yang, Zhiqiang
    Li, Qingshan
    Guan, Zhi
    Chen, Zhong
    [J]. 2019 IEEE/ACM 27TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2019), 2019, : 294 - 299
  • [2] Kaya: A Testing Framework for Blockchain-based Decentralized Applications
    Wu, Zhenhao
    Zhang, Jiashuo
    Gao, Jianbo
    Li, Yue
    Li, Qingshan
    Guan, Zhi
    Chen, Zhong
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 826 - 829
  • [3] A first look at blockchain-based decentralized applications
    Wu, Kaidong
    Ma, Yun
    Huang, Gang
    Liu, Xuanzhe
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2021, 51 (10): : 2033 - 2050
  • [4] Towards Automated Migration for Blockchain-based Decentralized Application
    Xu, Xiufeng
    [J]. 2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2020), 2020, : 155 - 157
  • [5] Blockchain-Based Automated Market Makers for a Decentralized Stock Exchange
    Dodmane, Radhakrishna
    Raghunandan, K. R.
    Rao, N. S. Krishnaraj
    Kallapu, Bhavya
    Shetty, Surendra
    Aslam, Muhammad
    Jilani, Syeda Fizzah
    [J]. INFORMATION, 2023, 14 (05)
  • [6] Social Activity and Decentralized Applications in Blockchain-Based Social Networks
    Ba, Cheick Tidiane
    Alessia, Galdeman
    Zignani, Matteo
    Gaito, Sabrina
    [J]. COMPUTATIONAL DATA AND SOCIAL NETWORKS, CSONET 2021, 2021, 13116 : 383 - 384
  • [7] Threshold EdDSA Signature for Blockchain-based Decentralized Finance Applications
    Shi, Yang
    Liang, Junqing
    Li, Mianhong
    Ma, Tianchen
    Ye, Guodong
    Li, Jiangfeng
    Zhao, Qinpei
    [J]. PROCEEDINGS OF 25TH INTERNATIONAL SYMPOSIUM ON RESEARCH IN ATTACKS, INTRUSIONS AND DEFENSES, RAID 2022, 2022, : 129 - 142
  • [8] DAppHunter: Identifying Inconsistent Behaviors of Blockchain-based Decentralized Applications
    Zhou, Jianfei
    Jiang, Tianxing
    Wang, Haijun
    Wu, Meng
    Chen, Ting
    [J]. 2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE, ICSE-SEIP, 2023, : 24 - 35
  • [9] Blockchain-Based Decentralized Application: A Survey
    Zheng, Peilin
    Jiang, Zigui
    Wu, Jiajing
    Zheng, Zibin
    [J]. IEEE OPEN JOURNAL OF THE COMPUTER SOCIETY, 2023, 4 : 121 - 133
  • [10] Blockchain-Based Decentralized Federated Learning
    Dirir, Ahmed
    Salah, Khaled
    Svetinovic, Davor
    Jayaraman, Raja
    Yaqoob, Ibrar
    Kanhere, Salil S.
    [J]. 2022 FOURTH INTERNATIONAL CONFERENCE ON BLOCKCHAIN COMPUTING AND APPLICATIONS (BCCA), 2022, : 99 - 106