Towards a 'safe' use of design patterns to improve OO software testability

被引:4
|
作者
Baudry, B [1 ]
Sunyé, YLG [1 ]
Jézéquel, JM [1 ]
机构
[1] Inst Rech Informat & Syst Aleatoires, F-35042 Rennes, France
关键词
D O I
10.1109/ISSRE.2001.989486
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Design for-testability is a very important issue in software engineering. It becomes crucial in the case of OO designs where control,flows are generally not hierarchical, but are diffuse and distributed over the whole architecture. We introduce the concept of a "testing conflict" when potentially concurrent client/supplier relationships between the same classes along different paths exist in a system. Such conflicts may be hard to test, especially when dynamic binding and polymorphism are involved. We describe the conflicts using topological class configuration diagrams. An overall architecture is represented as a combination of the initial design and several patterns. We focus on the design patterns as coherent subsets in the architecture. and we explain how, their use can provide a way for limiting the complexity of testing for conflicts, and of confining their effects to the classes involved in the pattern.
引用
收藏
页码:324 / 329
页数:6
相关论文
共 50 条
  • [1] PATTERNS IN OO DESIGN AND CODE COULD IMPROVE REUSE
    DUTTON, G
    SIMS, D
    [J]. IEEE SOFTWARE, 1994, 11 (03) : 101 - 101
  • [2] Promoting the software design for testability towards a partial test oracle
    Lin, JC
    Yeh, PL
    Yang, SC
    [J]. EIGHTH IEEE INTERNATIONAL WORKSHOP ON SOFTWARE TECHNOLOGY AND ENGINEERING PRACTICE INCORPORATING COMPUTER AIDED SOFTWARE ENGINEERING, PROCEEDINGS, 1997, : 209 - 214
  • [3] Towards a metric of software testability
    Wang, Y
    King, G
    Staples, G
    Ross, M
    Court, I
    [J]. PROCEEDINGS OF THE 5TH SOFTWARE QUALITY CONFERENCE, 1996, : 234 - 241
  • [4] Elemental design patterns: A formal semantics for composition of OO software architecture
    Smith, JM
    Stotts, D
    [J]. 27TH ANNUAL NASA GODDARD/IEEE SOFTWARE ENGINEERING WORKSHOP - PROCEEDINGS, 2003, : 183 - 190
  • [5] Towards software design automation with patterns
    Sikici, A.
    Topaloglu, N.Y.
    [J]. Informatica (Ljubljana), 2001, 25 (03) : 309 - 317
  • [6] The design of dependency relationships matrix to improve the testability of component-based software
    Ma Liangli
    Wang Houxiang
    Lu Yansheng
    [J]. QSIC 2006: SIXTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2006, : 93 - +
  • [7] Communications software design for testability: specification transformations and testability measures
    Dssouli, R
    Karoui, K
    Saleh, K
    Cherkaoui, O
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 1999, 41 (11-12) : 729 - 743
  • [8] Towards the safe use of dynamically transformed itinerant software
    Jochen, Mike
    Anteneh, Anteneh Addis
    Pollock, Lori L.
    Marvel, Lisa M.
    [J]. MILCOM 2005 - 2005 IEEE MILITARY COMMUNICATIONS CONFERENCE, VOLS 1-5, 2005, : 272 - 278
  • [9] DESIGN FOR TESTABILITY IN EMBEDDED SOFTWARE PROJECTS
    Sahay, Gaurav
    [J]. 2011 IEEE/AIAA 30TH DIGITAL AVIONICS SYSTEMS CONFERENCE (DASC), 2011,
  • [10] Design and fixturing techniques to improve testability
    DAquila, L
    [J]. EE-EVALUATION ENGINEERING, 1996, 35 (08): : 40 - &