首页 | 本学科首页   官方微博 | 高级检索  
     

基于UML的面向对象软件静态测试方法的研究
引用本文:张术梅 孙辉. 基于UML的面向对象软件静态测试方法的研究[J]. 微机发展, 2007, 17(1): 125-127
作者姓名:张术梅 孙辉
作者单位:大连交通大学软件学院 辽宁大连116028
摘    要:测试用例的数量和质量决定软件测试的成本和有效性。文中提出了一种基于UML面向对象软件静态测试的方法,论述了软件测试方法的分类、静态分析方法的基本测试框架及具体实现流程。针对面向对象软件的特点,静态测试主要是通过分析源程序得到类关系图,使测试人员能快速而清晰地了解程序结构,有效地设计测试用例。探讨了在对源程序进行充分的词法分析与语法分析的基础上,提取程序中类的有关信息,利用了数据库技术和UML图形模型,从而保证了分析结果的准确有效和标准化。

关 键 词:软件测试  面向对象  静态测试  UML
文章编号:1673-629X(2007)01-0125-03
修稿时间:2006-04-18

Research on Method of Object - Oriented Software Static Testing Based on UML
ZHANG Shu-mei,SUN Hui. Research on Method of Object - Oriented Software Static Testing Based on UML[J]. Microcomputer Development, 2007, 17(1): 125-127
Authors:ZHANG Shu-mei  SUN Hui
Abstract:The cost and efficiency of software testing is determined by quantity and quality of test cases.Advises a method of object-oriented software static testing based on UML,discusses the classification of the method of software testing and basic frame and particular process of the static analysis method.Static testing of object-oriented software finds class inheritance graph by analyzing source code based on characters of object-oriented software,which is of very significance for software tester quickly and clearly to understand program structure and effectively to develop testing case.Discusses that based on carrying on enough analysis of morphology and analysis of grammar for the source program,withdraws the information relative to the classes in the program.It uses the database technology and the UML graph models,thus it guarantees the accuracy and standardization of the analysis result.
Keywords:software testing  object-oriented  static testing  UML
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号