Automated Test Data Generation for Aspect-Oriented Programs

被引:0
|
作者
Harman, Mark [1 ]
Islam, Fayezin [1 ]
Xie, Tao [1 ]
Wappler, Stefan [1 ]
机构
[1] Kings Coll London, Dept Comp Sci, London WC2R 2LS, England
关键词
Test data generation; aspect-oriented software development; evolutionary testing; search-based software engineering;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Despite the upsurge of interest in the Aspect-Oriented Programming (AOP) paradigm, there remain few results on test data generation techniques for AOP Furthermore, there is no work on search-based optimization for test data generation, an approach that has been shown to be successful in other programming paradigms. In this paper, we introduce a search-based optimization approach to automated test data generation for structural coverage of AOP systems. We present the results of an empirical study that demonstrates the effectiveness of the approach. We also introduce a domain reduction approach for AOP testing and show that this approach not only reduces test effort, but also increases test effectiveness. This finding is significant, because similar studies for non-AOP programming paradigms show no such improvement in effectiveness, merely a reduction in effort. We also present the results of an empirical study of the reduction in test effort achieved by focusing specifically on branches inside aspects.
引用
收藏
页码:185 / 196
页数:12
相关论文
共 50 条
  • [1] Approach for Automated Test Data Generation for Path Testing in Aspect-Oriented Programs using Genetic Algorithm
    Khandelwal, Juhi
    Tomar, Pradeep
    2015 INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION & AUTOMATION (ICCCA), 2015, : 854 - 858
  • [2] JAOUT: Automated generation of aspect-oriented unit test
    Xu, GQ
    Yang, ZY
    Huang, HT
    Chen, Q
    Chen, L
    Xu, FB
    11TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2004, : 374 - 381
  • [3] An approach to test aspect-oriented programs
    Qamar, M. N.
    Nadeem, A.
    Aziz, R.
    WORLD CONGRESS ON ENGINEERING 2007, VOLS 1 AND 2, 2007, : 211 - +
  • [4] Automated Slicing of Aspect-Oriented Programs using Bytecode Analysis
    Munjal, Dishant
    Singh, Jagannath
    Panda, Subhrakanta
    Mohapatra, Durga Prasad
    39TH ANNUAL IEEE COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC 2015), VOL 2, 2015, : 191 - 199
  • [5] Testing Aspect-Oriented Programs
    Moreira, Rodrigo M. L. M.
    Paiva, Ana C. R.
    Aguiar, Ademar
    SISTEMAS Y TECNOLOGIAS DE INFORMACION, 2010, : 271 - 276
  • [6] The Research of Automated Select Test Cases for Aspect-oriented Software
    Wang, Peng
    Zhao, Xiaochun
    2012 INTERNATIONAL CONFERENCE ON MECHANICAL, INDUSTRIAL, AND MANUFACTURING ENGINEERING, 2012, 1 : 2 - 7
  • [7] Modelling Dynamics in Aspect-Oriented Programs
    Cheers, Hayden
    Lin, Yuqing
    PROCEEDINGS OF 2021 IEEE 12TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2021, : 6 - 11
  • [8] Dynamic slicing of aspect-oriented programs
    Mohapatra, Durga Prasad
    Sahu, Madhusmita
    Kumar, Rajeev
    Mall, Rajib
    Informatica (Ljubljana), 2008, 32 (03) : 261 - 274
  • [9] A calculus of untyped aspect-oriented programs
    Jagadeesan, R
    Jeffrey, A
    Riely, J
    ECOOP 2003 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2003, 2743 : 54 - 73
  • [10] Data-flow-based unit testing of aspect-oriented programs
    Zhao, J
    27TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2003, : 188 - 197