Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2006, Vol. 32 ›› Issue (16): 80-82. doi: 10.3969/j.issn.1000-3428.2006.16.030

• Software Technology and Database • Previous Articles     Next Articles

Research on Generation Technology of Test Cases Based on CPN Scenario Model

XU Yanli;ZHANG Yaling;ZHANG Yikun   

  1. School of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-08-20 Published:2006-08-20

基于CPNs场景模型的测试用例生成技术研究

徐艳丽;张亚玲;张毅坤   

  1. 西安理工大学计算机科学与工程学院,西安 710048

Abstract: Introducing scenario of use case to object-oriented software testing is very helpful for the design of test suit. This paper applies the advantages of intuition and better coupling characteristic provided by CPNs model to description of UML scenario, and presents an integration algorism for CPNs scenario model, chameleon tokens of which is used to capture not only the scenarios in UML specification but also the further added to it. The paper discusses how to generate test cases according to the CPNs scenario integration model as the result of the algorism.

Key words: Scenario of use case, Test cases generation, Colored Petri nets(CPNs), Scenario integration, Chameleon tokens

摘要: 将用例场景引入面向对象的软件测试中,有利于测试设计者设计测试用例。将着色Petri网(Colored Petri Nets,CPNs)模型直观可靠的特点和较好的耦合性运用到UML用例场景的描述中,进一步给出了CPNs场景模型的集成算法,并运用变色标记捕获UML规约中的场景及更多新增的场景。同时探讨了基于CPNs场景模型的测试用例生成方法。

关键词: 用例场景, 测试用例生成, 着色Petri网, 场景集成, 变色标记

CLC Number: