• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Chen Donghuo, Liu Quan. Generation of Test Cases Based on Symbolic Execution and LTL Formula Rewriting[J]. Journal of Computer Research and Development, 2013, 50(12): 2661-2675.
Citation: Chen Donghuo, Liu Quan. Generation of Test Cases Based on Symbolic Execution and LTL Formula Rewriting[J]. Journal of Computer Research and Development, 2013, 50(12): 2661-2675.

Generation of Test Cases Based on Symbolic Execution and LTL Formula Rewriting

More Information
  • Published Date: December 14, 2013
  • It is a breakthrough to use model checking technique to automatically generate test cases. For infinite states systems with input/output domains defined on unbounded and abstract types, the function of general model checking technique is very restricted in generating test cases. This paper presents the idea of auto-generation of test cases based on symbolic execution and LTL temporal formula rewriting method. The method proceeds with building the symbolic representation of program execution model, such that it can avoid explicitly building the model of infinite states systems with the enumeration of value of input and output or state explosion problem. Then temporal formula (test purposes) rewriting is applied to the symbolic execution model of program to generate complex constraint requirements according to the counterexample patterns related to test purposes and the suitable SMT(satisfiability modulo theory) solver is called for generating test cases. At the level of syntax, IOSTS and LTL formulae are used to specify interactive behaviors of systems under testing and test purposes, respectively. Therefore, the approach has the advantages of modeling the abstract behaviors and data dependence as well as defining all kinds of test requirements concisely and naturally in a rigorous means. Further, the paper designs the algorithm for LTL formula rewriting engine, which computes the necessary condition satisfied by test cases related to the targeted test purposes. At last, a case study is conducted for showing the usefulness of the method.
  • Related Articles

    [1]Wang Fengjuan, Lü Pan, Jin Ouwen, Xing Qinghui, Deng Shuiguang. A Resource Allocation Method for Neuron Computer Operating System[J]. Journal of Computer Research and Development, 2023, 60(9): 1948-1959. DOI: 10.7544/issn1000-1239.202330422
    [2]Ma Haiying, Zeng Guosun, Bao Zhihua, Chen Jianping, Wang Jinhua, Wang Zhanjun. Attribute-Based Encryption Scheme Resilient Against Continuous Auxiliary-Inputs Leakage[J]. Journal of Computer Research and Development, 2016, 53(8): 1867-1878. DOI: 10.7544/issn1000-1239.2016.20140787
    [3]You Feng, Zhao Ruilian, Lü Shanshan. Output Domain Based Automatic Test Case Generation[J]. Journal of Computer Research and Development, 2016, 53(3): 541-549. DOI: 10.7544/issn1000-1239.2016.20148045
    [4]Pang Tao, Duan Zhenhua. Symbolic Model Checking of WISHBONE on-Chip Bus[J]. Journal of Computer Research and Development, 2014, 51(12): 2759-2771. DOI: 10.7544/issn1000-1239.2014.20131164
    [5]Yao Xinghua, Deng Peimin, Yi Zhong, Jiang Yuncheng. A Decomposition of the Weakly Invertible Linear Finite Automata[J]. Journal of Computer Research and Development, 2009, 46(6): 1043-1051.
    [6]Jiang Yuncheng, Tang Yong, Wang Ju, Ji Gaofeng. Description-Logic-Based Temporal ER Model with Attribute Dependencies[J]. Journal of Computer Research and Development, 2007, 44(10): 1765-1773.
    [7]Wu Lijun, Su Kaile, Chen Qingliang, Yang Zhihua. Algorithm Research on “On the Fly” Model Checking Temporal Logics of Knowledge in Multi-Agent Systems[J]. Journal of Computer Research and Development, 2006, 43(8): 1417-1424.
    [8]Zheng Yanfeng, Sun Shutao, He Simin, Gao Wen. A Dual Round-Robin Algorithm for Combined Input-Crosspoint-Queued Switches[J]. Journal of Computer Research and Development, 2006, 43(7): 1225-1232.
    [9]He Jian, Qin Zheng. Modeling and Checking the Behavior of Software Architecture[J]. Journal of Computer Research and Development, 2005, 42(11): 2018-2024.
    [10]Pei Yu, Li Xuandong, and Zheng Guoliang. LDPChecker—A Model Checking Tool for Real-Time and Hybrid System[J]. Journal of Computer Research and Development, 2005, 42(1): 38-46.

Catalog

    Article views (1119) PDF downloads (510) Cited by()

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return