Integrating Evolutionary Testing with Reinforcement Learning for Automated Test Generation of Object-Oriented Software

被引:8
|
作者
He Wei [1 ]
Zhao Ruilian [1 ]
Zhu Qunxiong [1 ]
机构
[1] Beijing Univ Chem Technol, Dept Comp Sci & Technol, Beijing 100029, Peoples R China
基金
中国国家自然科学基金;
关键词
Object-oriented software; Evolutionary testing; Reinforcement learning; Inherited class hierarchies; Non-public methods;
D O I
10.1049/cje.2015.01.007
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Recent advances in evolutionary test generation greatly facilitate the testing of Object-oriented (OO) software. Existing test generation approaches are still limited when the Software under test (SUT) includes Inherited class hierarchies (ICH) and Non-public methods (NPM). This paper presents an approach to generate test cases for OO software via integrating evolutionary testing with reinforcement learning. For OO software with ICH and NPM, two kinds of particular isomorphous substitution actions are presented and a Q-value matrix is maintained to assist the evolutionary test generation. A prototype called EvoQ is developed based on this approach and is applied to generate test cases for actual Java programs. Empirical results show that EvoQ can efficiently generate test cases for SUT with ICH and NPM and achieves higher branch coverage than two state-of-the-art test generation approaches within the same time budget.
引用
收藏
页码:38 / 45
页数:8
相关论文
共 50 条
  • [1] Integrating Evolutionary Testing with Reinforcement Learning for Automated Test Generation of Object-Oriented Software
    HE Wei
    ZHAO Ruilian
    ZHU Qunxiong
    ChineseJournalofElectronics, 2015, 24 (01) : 38 - 45
  • [2] Integrating evolutionary testing with reinforcement learning for automated test generation of object-oriented software
    Department of Computer Science and Technology, Beijing University of Chemical Technology, Beijing
    100029, China
    Chin J Electron, 1 (38-45):
  • [3] Integrating verification and testing of object-oriented software
    Engel, Christian
    Gladisch, Christoph
    Klebanov, Vladimir
    Rummer, Philipp
    TESTS AND PROOFS, 2008, 4966 : 182 - 191
  • [4] On test data generation of object-oriented software
    Arcuri, Andrea
    Yao, Xin
    TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, : 72 - +
  • [5] Object-Oriented Curriculum Generation for Reinforcement Learning
    Da Silva, Felipe Leno
    Reali Costa, Anna Helena
    PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON AUTONOMOUS AGENTS AND MULTIAGENT SYSTEMS (AAMAS' 18), 2018, : 1026 - 1034
  • [6] Adaptive Evolutionary Testing: An Adaptive Approach to Search-Based Test Case Generation for Object-Oriented Software
    Bregieiro Ribeiro, Jose Carlos
    Zenha-Rela, Mario Alberto
    de Vega, Francisco Fernandez
    NICSO 2010: NATURE INSPIRED COOPERATIVE STRATEGIES FOR OPTIMIZATION, 2010, 284 : 185 - +
  • [7] Study of Integrating Random and Symbolic Testing for Object-Oriented Software
    Dimjasevic, Marko
    Howar, Falk
    Luckow, Kasper
    Rakamari, Zvonimir
    INTEGRATED FORMAL METHODS, IFM 2018, 2018, 11023 : 89 - 109
  • [8] Validation and test generation for object-oriented distributed software
    Jeron, T
    Jezequel, JM
    Le Guennec, A
    SOFTWARE ENGINEERING FOR PARALLEL AND DISTRIBUTED SYSTEMS - INTERNATIONAL SYMPOSIUM PROCEEDINGS, 1998, : 51 - 60
  • [9] Using evolutionary algorithms for the unit testing of object-oriented software
    Wappler, Stefan
    Lammermann, Frank
    GECCO 2005: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOLS 1 AND 2, 2005, : 1053 - 1060
  • [10] Automated generation and evaluation of dataflow-based test data for object-oriented software
    Oster, N
    QUALITY OF SOFTWARE ARCHITECTURES AND SOFTWARE QUALITY, PROCEEDINGS, 2005, 3712 : 212 - 226