Advertisement

Software Testing Process Automation Based on UTP – A Case Study

  • Wei Chen
  • Qun Ying
  • Yunzhi Xue
  • Chen Zhao
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3840)

Abstract

Automation of software testing process plays an important role in improving software quality, shortening period of development and reducing development cost. However, most existing testing automation methods tend to rely on various kinds of limited formal models, and make a contrived separation between software testing and other phases in software life cycle. This separation limits wide spread application of these methods. On the other hand, UML, as a unified modeling language that has been widely employed to describe and model software and software process, can provide good basis for testing automation to close the separation. In this paper we introduce an approach that transforms design models represented by UML to testing models represented by UTP (UML Testing Profile), and further more transforms the testing models to TTCN-3 (Test and Test Control Notation) test cases that can be executed on a TTCN-3 execution engine, according to TTCN-3 mapping interface defined in UTP. This approach integrates testing phase with other phases tightly together, and leads to automation or semi-automation of software testing process. Finally, the paper demonstrates the effectiveness of the proposed approach by deriving TTCN-3 test cases for a typical C/S software system.

Keywords

Design Model Unify Modeling Language Sequence Diagram Test Component European Telecommunication Standard Institute 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Beizer, B.: Software Testing Techniques. International Thomson Computer Press (1990)Google Scholar
  2. 2.
    Bertolino, A.: Software Testing Research and Practice. In: Börger, E., Gargantini, A., Riccobene, E. (eds.) ASM 2003. LNCS, vol. 2589, pp. 1–21. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  3. 3.
    Briand, L.C., Labiche, Y.: A UML-Based Approach to System Testing. Software and Systems Modeling 1(1), 10–42 (2002)CrossRefGoogle Scholar
  4. 4.
    OMG, UML 2.0 Testing Profile Specification (04-04-02) Google Scholar
  5. 5.
    Dai, Z.R.: Model-Driven Testing with UML 2.0. In: Second European Workshop on Model Driven Architecture (MDA) with an emphasis on Methodologies and Transformations, Canterbury, England (September 2004)Google Scholar
  6. 6.
    Dai, Z.R., Grabowski, J., Neukirchen, H.: From Design to Test with UML – Applied to a Roaming Algorithm for Bluetooth Devices. In: Groz, R., Hierons, R.M. (eds.) TestCom 2004. LNCS, vol. 2978, pp. 33–49. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  7. 7.
    Schieferdecker, I., Din, G.: A Meta-model for TTCN-3. In: Núñez, M., Maamar, Z., Pelayo, F.L., Pousttchi, K., Rubio, F. (eds.) FORTE 2004. LNCS, vol. 3236, pp. 366–379. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  8. 8.
    Duddy, K., Gerber, A., Lawley, M., Raymond, K., Steel, J.: Model Transformation: A declarative, reusable patterns approach. In: 7th IEEE International Enterprise Distributed Object Computing Conference, pp. 174–185 (2003)Google Scholar
  9. 9.
    Schieferdecker, I., Dai, Z.R., Grabowski, J.: The UML2.0 Testing Profile and its Relation to TTCN-3. In: Hogrefe, D., Wiles, A. (eds.) TestCom 2003. LNCS, vol. 2644, pp. 79–94. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  10. 10.
    OMG, UML 2.0 Superstructure Specification (ptc/03-08-02) Google Scholar
  11. 11.
    ETSI ES 201 873 – 1, v2.2.1: The Testing and Test Control Notation TTCN-3: Core Language (2002)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Wei Chen
    • 1
    • 2
  • Qun Ying
    • 1
    • 2
  • Yunzhi Xue
    • 1
    • 2
  • Chen Zhao
    • 1
  1. 1.Laboratory for Internet Software Technologies, Institute of SoftwareThe Chinese Academy of SciencesBeijingChina
  2. 2.Graduate School of the Chinese Academy of SciencesBeijingChina

Personalised recommendations