摘要
评测虚拟仪器的软件是研发虚拟仪器的重要工作内容,直接关系到虚拟仪器功能、性能、测量精度等的稳定性、可靠性、可信度.现有的基于UML构件测试模型等多种评测方法各有优缺点.该文探讨基于Petri网模型的虚拟仪器的软件评测方法,该方法根据例用组合虚拟仪器中功能模块之间的关系建立相应的Petri网模型,然后依据Petri网模型生成测试用例,辨识在测试用例作用下相关功能模块输出的结果是否符合要求.试验结果表明,该方法具有评测结果可信度高,测试用例生成方便,测试用例选择判据充分性好,可应用于设计通用组合虚拟仪器软件评测系统.
Testing virtual instrument sofeware is an important . Virtual instrument research and development work, is directly related to the stability, reliability, credibility of the virtual instrument features, performance and measurement accuracy. The existing UML Component test model and many other evaluation methods have advantages and disadvantages. This paper discusses the Petri net model based on virtual instrument software testing method , which according to the relationship between the function modules construct Petri net model of eases of combinations of virtual instrument , and then based on Petri net model to generate test cases, to identify weather test cases under the relevant functional modules of the results output meet the requirements. Test show that the method has high credibility of testing results, test ease generation convenience, the adequacy of test case selection criteria, and can be applied to the design of portfolio virtual instrument software testing system.
出处
《湘潭大学自然科学学报》
CAS
CSCD
北大核心
2009年第3期128-131,共4页
Natural Science Journal of Xiangtan University
基金
湖南省高校创新平台开放基金资助项目(09K040)
湖南省重点学科建设资助项目