Observability using aspect-oriented programming for OO software testing

被引:0
|
作者
Meetei, Mutum Zico [1 ]
Goel, A. [2 ]
Wasan, Siri Krishan [1 ]
机构
[1] Jamia Millia Islamia, Dept Math, New Delhi, India
[2] Univ Delhi, Dyal Singh Coll, Dept Comp Sci, New Delhi, India
关键词
Object-oriented testing; AOP; AspectJ; Logging; Observability;
D O I
10.1007/s13198-011-0066-5
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Software testing is a process of executing software with the goal of finding errors. It is an important phase in the software development process. It still remains an art due to limitations in understanding of the principles of software. In this paper, we present a new approach to testing object-oriented software using aspect-oriented programming. We propose an aspect-based testing technique that facilitates observing internal details of execution at unit, integration and system levels, during testing of objectoriented software. Our technique adapts logging aspect, to suit the testing needs of object-oriented software. The logging aspect is introduced externally to the software under test, for observing the system's internal and external behavior. The internal execution details are stored in a log file for use during post-analysis. Test coverage reports are generated from the information gathered from the log file. It includes coverage at method, class, inheritance and dynamic binding levels.
引用
收藏
页码:85 / 96
页数:12
相关论文
共 50 条
  • [1] Aspect-Oriented Programming for Guided Testing
    Liu, Siyuan
    Yang, Yang
    [J]. PROCEEDINGS OF THE 2015 4TH INTERNATIONAL CONFERENCE ON SENSORS, MEASUREMENT AND INTELLIGENT MATERIALS, 2016, 43 : 432 - 437
  • [2] Impact of aspect-oriented programming on software modularity
    Przybylek, Adam
    [J]. 2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, : 369 - 372
  • [3] Aspect-oriented software development beyond programming
    Rashid, Awais
    Garcia, Alessandro
    Moreira, Ana
    [J]. REUSE OF OFF-THE-SHELF COMPONENTS, PROCEEDINGS, 2006, 4039 : 441 - 442
  • [4] Aspect-oriented Programming Techniques in Unit Testing
    Voesgen, Matthias
    Sokenou, Dehla
    [J]. COMPUTER SCIENCE-RESEARCH AND DEVELOPMENT, 2005, 20 (1-2): : 57 - 71
  • [5] Representation of variability in software product line using Aspect-Oriented Programming
    Heo, Seung-Hyun
    Choi, Eun Man
    [J]. FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS, PROCEEDINGS, 2006, : 66 - +
  • [6] Design phase analysis of software qualities using aspect-oriented programming
    Park, Daesung
    Kang, Sungwon
    Lee, Jihyun
    [J]. SNPD 2006: SEVENTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, PROCEEDINGS, 2006, : 29 - +
  • [7] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 461 - 461
  • [8] Aspect-oriented programming
    Bergmans, L
    Lopes, CV
    [J]. OBJECT-ORIENTED TECHNOLOGY, 1999, 1743 : 288 - 313
  • [9] Aspect-oriented programming
    Kiczales, G
    [J]. ICSE 05: 27th International Conference on Software Engineering, Proceedings, 2005, : 730 - 730
  • [10] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES - TOOLS 33, PROCEEDINGS, 2000, : 468 - 468