计算机科学 ›› 2014, Vol. 41 ›› Issue (Z6): 433-437.

• 软件工程与数据库技术 • 上一篇    下一篇

U2TP到TTCN-3自动转换的研究与实现

侯晓媛,王显荣,李华,沈维维   

  1. 内蒙古大学计算机学院 呼和浩特010020;内蒙古大学计算机学院 呼和浩特010020;内蒙古大学计算机学院 呼和浩特010020;内蒙古大学计算机学院 呼和浩特010020
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受国家自然科学基金:面向属性的CPN建模及On the Fly辅助的测试生成方法研究(61163011)资助

Research and Implementation of U2TP to TTCN-3Automatic Transformation

HOU Xiao yuan,WANG Xian rong,LI Hua and SHEN Wei wei   

  • Online:2018-11-14 Published:2018-11-14

摘要: 在系统建模阶段使用UML 2.0Testing Profile (U2TP)集成测试信息,不仅可以使系统开发者在系统建模初期就获得对测试的整体观念,还可以从初始阶段就限制测试例的数量。The Testing and Test Control Notation version(TTCN-3)具有完善、成熟的测试平台,因而将TTCN-3作为U2TP转换的目标测试语言。U2TP测试模型到TTCN-3Abstract test suite(ATS)自动转换系统的开发,可以在一定程度上减少在测试中代码量的开发。核心部分介绍了U2TP到TTCN-3自动转换的设计与实现工作。最后,通过一个具体的U2TP例子对转换系统进行了验证。

关键词: U2TP,TTCN-3,ATS,自动转换 中图法分类号TP311.56文献标识码A

Abstract: Integrating test information by using U2TP in system modeling stage,on the one hand,enables system deve-lopers to obtain the overall concept of testing in early system modeling stage,on the other hand,can limit the number of test cases from the initial stage.TTCN-3has a perfect,mature test platform,therefore,so we make TTCN-3as the transformation target test language of U2TP.An automatic transformation system that transformed U2TP test model into TTCN-3ATS can reduce the amount of code in the test development at a certain degree.The core part describes the design and realization work of U2TP to TTCN-3automatic transformation.The end of this paper validates the transformation system through a concrete example of U2TP,and makes concrete analysis of the generated TTCN-3ATS.

Key words: U2TP,TTCN-3,ATS,Automatic transformation

[1] ETSI ES 201873-1v4.3.1:Methods for Testing and Specification (MTS);The Testing and Test Control Notation version 3;Part 1:TTCN-3Core Language.2011
[2] ETSI ES 201873-5v4.3.1:Methods for Testing and Specification (MTS);The Testing and Test Control Notation version 3;Part 5:TTCN-3Runtime Interface (TRI).2011
[3] ETSI ES 201873-6v4.3.1:Methods for Testing and Specification (MTS);The Testing and Test Control Notation version 3;Part 6:TTCN-3Control Interface (TCI).2011
[4] Pietsch S,Stanca-Kaposta B.Model-based testing with UTP andTTCN-3and its application to HL7[J].Testing Technologies,2008
[5] Schieferdecker I,Zhen Ru-dai,Grabowski J,et al.The UML 2.0Testing Profile and Its Relation to TTCN-3[M].Testing of Communicating Systems,Spriger Berlin Heidelberg,2003:79-94
[6] Zander J,Zhen Ru-dai,Schieferdecker I,et al.From U2TP Models to Executable Tests with TTCN-3-An Approach to Model Driven Testing-[M].2005:289-30
[7] UML Testing Profile (UTP) Version 1.1RTF-Beta 1.2011

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!