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

基于Petri网的并发程序测试用例产生方法
引用本文:霍敏霞,丁晓明.基于Petri网的并发程序测试用例产生方法[J].计算机科学,2011,38(9):135-138.
作者姓名:霍敏霞  丁晓明
作者单位:(西南大学计算机与信息科学学院 重庆 400715) (重庆市智能软件与软件工程重点实验室 重庆 400715)
摘    要:并发程序的测试路径具有不可预测性,而Pctri网在描述并发方面具有其它系统模型无法比拟的优势。因此通过Petri网来产生并发程序的测试路径:对有并发程序的源代码构造的Petri网模型进行图形矩阵转换;按照一定的规则得出相应的独立段组;合并独立段组得出网的独立段群,此独立段群即为该并发程序的测试路径。实验证明,将Petri网用于并发程序测试用的例生成降低了测试难度,提高了测试效率。

关 键 词:并发程序,Petri网,独立段群

Test Case Generation Method for Concurrent Programs Based on Petri Net
HUO Min-xi,DINU Xiao-ming.Test Case Generation Method for Concurrent Programs Based on Petri Net[J].Computer Science,2011,38(9):135-138.
Authors:HUO Min-xi  DINU Xiao-ming
Affiliation:(College of Computer and Information Science,Southwest University,Chongqing 400715,China); (The Key Lab of Intelligent Software and Software Engineering,(;hongqing 400715,China)
Abstract:Petri nets have an incomparable advantage of describing the unpredictable testing path of concurrent program. This article made test path of concurrent programs with Petri nets, transformed graphic matrix about Petri net model which is made of concurrent program codc,found the corresponding independent segment group according to certain rules, and obtained the independent segment groups of Petri nets which is the test path of the concurrent programs, by merging independent segment group. Experiment shows that the using of Petri nets in concurrent programs testing reduces the test difficulty and improves the test efficiency in concurrent programs testing.
Keywords:Concurrent programs  Petri nets  Independent segment groups
本文献已被 CNKI 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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