A case study in specification and implementation testing

被引:2
作者
Miller, T [1 ]
Strooper, P [1 ]
机构
[1] Univ Liverpool, Dept Comp Sci, Liverpool L69 7ZF, Merseyside, England
来源
11TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS | 2004年
关键词
D O I
10.1109/APSEC.2004.1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Achieving consistency between a specification and its implementation is an important part of software development. In previous work, we have presented a method and tool support for testing a formal specification using animation and then verifying an implementation of that specification. The method is based on a testgraph, which provides a partial model of the application under test. The testgraph is used in combination with an animator to generate test sequences for testing the formal specification. The same testgraph is used during testing to execute those same sequences on the implementation and to ensure that the implementation conforms to the specification. So far, the method and its tool support have been applied to software components that can be accessed through an Application Programmer Interface (API). In this paper, we use an industrially-based case study to discuss the problems associated with applying the method to a software system with a Graphical User Interface (GUI). In particular, the lack of a standardised interface, as well as controllability and observability problems, make it difficult to automate the testing of the implementation. The method can still be applied, but the amount of testing that can be carried on the implementation is limited by the manual effort involved.
引用
收藏
页码:130 / 139
页数:10
相关论文
共 33 条
  • [1] Formal specification techniques as a catalyst in validation
    Aichernig, BK
    Gerstinger, A
    Aster, R
    [J]. FIFTH IEEE INTERNATIONAL SYMPOSIUM ON HIGH ASSURANCE SYSTEMS ENGINEERING, PROCEEDINGS, 2000, : 203 - 206
  • [2] Ambert F, 2002, P FORM APPR TEST SOF, P105
  • [3] Automatically checking an implementation against its formal specification
    Antoy, S
    Hamlet, D
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (01) : 55 - 69
  • [4] BLOESCH A, 1995, 9502 SOFTW VER RES C
  • [5] Carrington D, 2000, SOFTW TEST VERIF REL, V10, P111, DOI 10.1002/1099-1689(200006)10:2<111::AID-STVR204>3.0.CO
  • [6] 2-P
  • [7] CHEN J, 2001, P 34 HAW INT C SYST
  • [8] A framework for table driven testing of Java']Java classes
    Daley, N
    Hoffman, D
    Strooper, P
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2002, 32 (05) : 465 - 493
  • [9] Dick J., 1993, FME'93: Industrial-Strength Formal Methods. First International Symposium of Formal Methods Europe Proceedings, P268, DOI 10.1007/BFb0024651
  • [10] DOONG RK, 1994, ACM T SOFTW ENG METH, V3, P101