An Efficient Method for Automatic Generation of Linearly Independent Paths in White-box Testing

被引:0
|
作者
Wang, Xinyang [1 ]
Jiang, Yaqiu [1 ]
Tian, Wenhong [1 ]
机构
[1] Univ Elect Sci & Technol China, Sch Software & Engn, Chengdu, Sichuan, Peoples R China
关键词
White box test; Path-Based Test; Control flow graph; Complexity Measure; Elementary circuit;
D O I
暂无
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Testing is the one of most significant quality assurance measures for software. It has been shown that the software testing is one of the most critical and important phases in the life cycle of software engineering. In general, software testing takes around 40-60% of the effort, time and cost. Structure-oriented test methods define test cases on the basis of the internal program structures and are widely used. Path based test is one of the important Structure-oriented test methods during software development. However, there is still lack of automatic and highly efficient tool for generating basic paths in white-box testing. In view of this, an automatic and efficient method for generating basic paths is proposed in this paper. This method firstly transforms the source-code program into corresponding control flow graph (CFG). By modifying the original CFG to a strongly connected graph, a new algorithm (ABPC) is designed to automatically construct all bask paths. The ABPC algorithm has computational complexity linear to the number of total edges and nodes in the CFG. Through performance evaluation of many examples, it is shown that the proposed method is correct and scalable to very large test cases. The proposed method can be applied to basis path testing easily.
引用
收藏
页码:108 / 120
页数:13
相关论文
共 50 条
  • [1] Automatic generation of database instances for white-box testing
    Zhang, B
    Xu, C
    Cheung, SC
    [J]. 25TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, 2001, : 161 - 165
  • [2] White-box testing
    Cole, O
    [J]. DR DOBBS JOURNAL, 2000, 25 (03): : 23 - +
  • [3] Database instances Generation Tool for White-box Testing
    Shelar, Samidha
    Sawarkar, S. D.
    [J]. PROCEEDINGS OF THE 2009 INTERNATIONAL CONFERENCE ON SIGNAL ACQUISITION AND PROCESSING, 2009, : 112 - +
  • [4] Boundary Value Analysis in Automatic White-box Test Generation
    Zhang, Zhiqiang
    Wu, Tianyong
    Zhang, Jian
    [J]. 2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2015, : 239 - 249
  • [5] On path-wise automatic generation of test data for both white-box and black-box testing
    Shan, JH
    Wang, J
    Qi, ZC
    [J]. APSEC 2001: EIGHTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2001, : 237 - 240
  • [6] Efficient White-Box Fairness Testing through Gradient Search
    Zhang, Lingfeng
    Zhang, Yueling
    Zhang, Min
    [J]. ISSTA '21: PROCEEDINGS OF THE 30TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2021, : 103 - 114
  • [7] Automatic white-box testing of first-order logic ontologies
    Alvez, Javier
    Hermo, Montserrat
    Lucio, Paqui
    Rigau, German
    [J]. JOURNAL OF LOGIC AND COMPUTATION, 2019, 29 (05) : 723 - 751
  • [8] Efficient and Provable White-Box Primitives
    Fouque, Pierre-Alain
    Karpman, Pierre
    Kirchner, Paul
    Minaud, Brice
    [J]. ADVANCES IN CRYPTOLOGY - ASIACRYPT 2016, PT I, 2016, 10031 : 159 - 188
  • [9] Constraint-Based Test Case Generation for White-Box Method-Level Unit Testing
    Chang, Cheng-Hung
    Lin, Nai-Wei
    [J]. 2016 INTERNATIONAL COMPUTER SYMPOSIUM (ICS), 2016, : 601 - 604
  • [10] A practical guide to SQL white-box testing
    Tuya, Javier
    Suarez-Cabal, M. Jose
    de la Riva, Claudio
    [J]. ACM SIGPLAN NOTICES, 2006, 41 (04) : 36 - 41