Aspect-Oriented Approach for Testing Software Applications and Automatic Aspect Creation

被引:0
|
作者
Jain, Manish [1 ]
Gopalani, Dinesh [1 ]
机构
[1] MNIT, Comp Sci Dept, Jaipur, Rajasthan, India
关键词
Aspect-oriented programming; software testing; domain-specific language; aspects; AOP;
D O I
10.1142/S0218194019500438
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The existing techniques for software testing can be used to perform only a particular type of testing, and moreover proficiency is required to write the automation test scripts using these techniques. This paper proposes a novel software testing approach using Aspect-Oriented Programming (AOP) that alone suffices for carrying out most of the types of software testing and thus obliterates the need of using distinctive tools for different types of testing. Nevertheless, AOP is a new programming paradigm and not all testers have the proficiency of working with it. Hence, a domain-specific language named Testing Aspect Generator Language (TAGL) was developed which has got a very low learning curve. Using TAGL, testers can write the testing code in the form of natural language-like statements. Further, the lexical analyzer and parser, written using lex and yacc, convert the TAGL statements into actual testing code in the form of AOP. The proposed approach was applied for the testing of widely used open source projects and remarkable bugs were detected into them. A detailed comparison as to how our approach is effective than the conventional testing techniques is provided.
引用
收藏
页码:1379 / 1402
页数:24
相关论文
共 50 条
  • [1] Coordination in software architectures:: an aspect-oriented approach
    Perez, Jennifer
    Llavador, Manuel
    Carsi, Jose A.
    Canos, Jose H.
    Ramos, Isidro
    [J]. 5TH WORKING IEEE/IFIP CONFERENCE ON SOFTWARE ARCHITECTURE, PROCEEDINGS, 2006, : 219 - +
  • [2] Slicing aspect-oriented software
    Zhao, JJ
    [J]. 10TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2002, : 251 - 260
  • [3] Analysis of aspect-oriented software
    Hannemann, J
    Chitchyan, R
    Rashid, A
    [J]. OBJECT-ORIENTED TECHNOLOGY, 2003, 3013 : 154 - 164
  • [4] Testing Aspect-Oriented Programs
    Moreira, Rodrigo M. L. M.
    Paiva, Ana C. R.
    Aguiar, Ademar
    [J]. SISTEMAS Y TECNOLOGIAS DE INFORMACION, 2010, : 271 - 276
  • [5] An Aspect-Oriented Approach for the Development of Complex Simulation Software
    Ionescu, Tudor B.
    Piater, Andreas
    Scheuermann, Walter
    Laurien, Eckart
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2010, 9 (01): : 161 - 181
  • [6] An Approach to Aspect-Oriented Software Evolution Process Architecture
    Fu, Zhi-Tao
    Li, Tong
    Hu, Yan
    [J]. ICICTA: 2009 SECOND INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTATION TECHNOLOGY AND AUTOMATION, VOL I, PROCEEDINGS, 2009, : 144 - 147
  • [7] An Aspect-Oriented Approach for Mobile Embedded Software Modeling
    FanJiang, Yong-Yi
    Kuo, Jong-Yih
    Ma, Shang-Pin
    Huang, Wong-Rong
    [J]. COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2010, PT 2, PROCEEDINGS, 2010, 6017 : 257 - +
  • [8] An aspect-oriented approach to supporting the design of system software
    Netinant, P
    Constantinides, CA
    Elrad, T
    [J]. COMPUTERS AND THEIR APPLICATIONS, 2001, : 521 - 524
  • [9] OOAspectZ and aspect-oriented UML class diagrams for Aspect-oriented software modelling (AOSM)
    Vidal Silva, C.
    Saens, R.
    Del Rio, C.
    Villarroel, R.
    [J]. INGENIERIA E INVESTIGACION, 2013, 33 (03): : 66 - 71
  • [10] Observability using aspect-oriented programming for OO software testing
    Meetei, Mutum Zico
    Goel, A.
    Wasan, Siri Krishan
    [J]. INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2011, 2 (02) : 85 - 96