Formal Derivation of Finite State Machines for Class Testing

作者: Leesa Murray , David Carrington , Ian MacColl , Jason McDonald , Paul Strooper

DOI: 10.1007/978-3-540-49676-2_4

关键词:

摘要: Previous work on generating state machines for the purpose of class testing has not been formally based. There also deriving from formal specifications non-object-oriented software. We build this by presenting a method machine purposes specification under test. show how resulting can be used as basis test suite developed and executed using an existing framework testing. To derive machine, we identify states possible interactions operations The Test Template Framework is to Object-Z transitions finite are calculated derived class's operations. transformed ClassBench testgraph, which input C++ implementation class. illustrated simple bounded queue example.

参考文章(23)
Christopher D. Turner, David J. Robson, A State-Based Approach to the Testing of Class-Based Programs. Software - Concepts and Tools. ,vol. 16, pp. 106- 112 ,(1995)
Paul A. Strooper, Daniel Hoffman, The Testgraph Methodology: Automated Testing of Collection Classes. Joop-journal of Object-oriented Programming. ,vol. 8, pp. 35- 41 ,(1995)
L. Murray, J. McDonald, P. Strooper, Specification-based class testing with ClassBench asia pacific software engineering conference. pp. 164- 173 ,(1998) , 10.1109/APSEC.1998.733618
J. McDonald, P. Strooper, Translating Object-Z specifications to passive test oracles international conference on formal engineering methods. pp. 165- 174 ,(1998) , 10.1109/ICFEM.1998.730580
Oscar Bosman, Heinz Schmidt, Object test coverage using finite state machines The Australian National University. ,(1995)
T. J. Ostrand, M. J. Balcer, The category-partition method for specifying and generating fuctional tests Communications of The ACM. ,vol. 31, pp. 676- 686 ,(1988) , 10.1145/62959.62964
Roger Duke, Gordon Rose, Graeme Smith, Object-Z: a specification language advocated for the description of standards Computer Standards & Interfaces. ,vol. 17, pp. 511- 533 ,(1995) , 10.1016/0920-5489(95)00024-O
John D. McGregor, Douglas M. Dyer, A note on inheritance and state machines ACM SIGSOFT Software Engineering Notes. ,vol. 18, pp. 61- 69 ,(1993) , 10.1145/163626.163635