摘要
目前基于UML类图和状态图做面向对象软件测试方面已有不少研究,因此研究如何实现一个UML语法分析器有其现实意义。利用BISON设计了一个UML语法分析器,通过对UML文档的词法语法分析,实现了从UML文档中自动提取用于软件测试的信息,提高了软件测试效率。在VC6.0环境下对该分析器仿真,实验结果表明,软件能正确提取测试需要的信息。
Studying in how to develop a UML Syntax-analyzer is significant for there are many researchs on object-oriented test with UML class diagram and statechart diagram at present. The paper develops a UML analyzer by using BISON, which realizes getting information used to software testing automatically from documents of UML by scanning and analyzing them. It improves the efficiency of software testing. Simulating the software under the environment of VC6.0 and the results show that it can work correctly.
出处
《计算机工程》
CAS
CSCD
北大核心
2007年第8期267-269,272,共4页
Computer Engineering
基金
浙江省科技攻关基金资助重点项目"通信协议一致性测试集自动生成软件"(2005C21027)
浙江省自然科学基金资助项目"协议形式化描述与ATS自动生成技术研究"(M603145)