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 条
  • [41] Editorial: Aspect-Oriented Technology and Software Quality
    Roger Alexander
    James Bieman
    [J]. Software Quality Journal, 2004, 12 : 93 - 97
  • [42] Editorial: Aspect-oriented technology and software quality
    Alexander, R
    Bieman, J
    [J]. SOFTWARE QUALITY JOURNAL, 2004, 12 (02) : 93 - 97
  • [43] An Aspect-Oriented Approach for Assertion Verification
    Juarez-Martinez, Ulises
    Alor-Hernandez, Giner
    Posada-Gomez, Ruben
    Santos-Luna, Joaquin
    Miguel Gomez, Juan
    Rodriguez Gonzalez, Alejandro
    [J]. 2009 FIRST INTERNATIONAL CONFERENCE ON ADVANCES IN SYSTEM TESTING AND VALIDATION LIFECYCLE, 2009, : 74 - 79
  • [44] Modeling Aspect-Oriented Extension Software Architecture
    Li Furong
    Sun Wei
    Jia Zhigang
    [J]. ISCSCT 2008: INTERNATIONAL SYMPOSIUM ON COMPUTER SCIENCE AND COMPUTATIONAL TECHNOLOGY, VOL 2, PROCEEDINGS, 2008, : 431 - +
  • [45] THE DSAW ASPECT-ORIENTED SOFTWARE DEVELOPMENT PLATFORM
    Ortin, Francisco
    Vinuesa, Luis
    Felix, Jose M.
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2011, 21 (07) : 891 - 929
  • [46] Engineering Accessible Web Applications. An Aspect-Oriented Approach
    Adriana Martín
    Gustavo Rossi
    Alejandra Cechich
    Silvia Gordillo
    [J]. World Wide Web, 2010, 13 : 419 - 440
  • [47] An approach to test aspect-oriented programs
    Qamar, M. N.
    Nadeem, A.
    Aziz, R.
    [J]. WORLD CONGRESS ON ENGINEERING 2007, VOLS 1 AND 2, 2007, : 211 - +
  • [48] An aspect-oriented approach to the modularisation of context
    Munnelly, Jennifer
    Fritsch, Serena
    Clarke, Siobhan
    [J]. FIFTH ANNUAL IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS, PROCEEDINGS, 2007, : 114 - +
  • [49] An aspect-oriented approach to declarative access control for web applications
    Chen, K
    Lin, CW
    [J]. FRONTIERS OF WWW RESEARCH AND DEVELOPMENT - APWEB 2006, PROCEEDINGS, 2006, 3841 : 176 - 188
  • [50] Aspect-Oriented Approach for User Interaction Logging of iOS Applications
    Kokemor, Ilka
    Hutter, Hans-Peter
    [J]. DESIGN, USER EXPERIENCE, AND USABILITY: TECHNOLOGICAL CONTEXTS, PT III, 2016, 9748 : 45 - 56