[1]胡继东,鞠炜刚. 基于领域驱动的测试用例设计开发方法研究[J].计算机技术与发展,2016,26(09):56-60.
 HU Ji-dong,JU Wei-gang. Research on Test Cases Design and Development Method Based on Domain-driven[J].,2016,26(09):56-60.
点击复制

 基于领域驱动的测试用例设计开发方法研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
26
期数:
2016年09期
页码:
56-60
栏目:
应用开发研究
出版日期:
2016-09-10

文章信息/Info

Title:
 Research on Test Cases Design and Development Method Based on Domain-driven
文章编号:
1673-629X(2016)09-0056-05
作者:
 胡继东鞠炜刚
 中兴通讯南京研究所
Author(s):
 HU Ji-dongJU Wei-gang
关键词:
 测试用例领域驱动实例化需求领域建模面向对象重构
Keywords:
 test casedomain drivenspecification by exampledomain modelingobject-oriented restructuring
分类号:
TP301
文献标志码:
A
摘要:
 随着软件产品的交付周期越来越短,敏捷研发模式的应用范围更加广泛。为解决敏捷团队中测试用例设计、开发不能满足产品持续快速交付的问题,采用领域驱动方法,从需求特性出发,采用实例化需求的方法设计测试用例,然后对被测领域进行建模,通过领域关键字结构模型分析用领域语言描述测试用例,对领域对象模型进行分析,采用面向对象设计、开发,通过不断演进和重构,迭代地完成测试用例的开发。一方面使得测试用例的组织、设计、开发更加有效,提高了测试用例的开发和维护效率,测试用例更加易于理解、清晰简洁,能够通过重构快速应对变化;另一方面可以采用ATTD的方法来驱动产品的开发。该方法在通信系统测试中得到了应用推广,取得了很好的效果。
Abstract:
 As the delivery period of software products becomes shorter,the application scope of agile R&D mode becomes wider. In order to solve the problem that test case design and development in agile teams cannot satisfy the requirement of constant rapid product deliver-y,the domain-driven method is adopted,and test case is designed based on feature requirements by using instantiation. Then the test do-mains is modeled,and test cases is described in domain language by using the domain keyword structure,and domain object model is ana-lyzed,using design and development of object-oriented mode for implementing test cases in iterations via continuous evolution and re-factoring. On the one hand,this method makes organization,design and development of test cases more efficient,thus improving efficien-cy in development and maintenance of test cases,and test cases become easy to understand,clear and concise,which satisfy quick changes requirements by using restructuring. On the other hand,it allows driving product development by using ATTD method. Thus,it is widely deployed in telecommunication system tests with good results.

相似文献/References:

[1]高莉 李龙澍.基于UML状态图的测试技术研究[J].计算机技术与发展,2009,(05):68.
 GAO Li,LI Long-shu.A Survey about UML Statechart Testing[J].,2009,(09):68.
[2]范明红 浦云明 汪志华.等价类测试与划分研究[J].计算机技术与发展,2009,(07):62.
 FAN Ming-hong,PU Yun-ming,WANG Zhi-hua.Study of Equivalence Testing and Partitioning[J].,2009,(09):62.
[3]张玲 袁娜 马永刚[] 黄鹏[].基于测试用例和时间域软件可靠性模型[J].计算机技术与发展,2009,(11):167.
 ZHANG Ling,YUAN Na,MA Yong-gang,et al.Mixed Software Reliability Module Based on Testing Cases and Time Domain[J].,2009,(09):167.
[4]马菁 顾景文.决策树在软件测试用例生成中的应用[J].计算机技术与发展,2008,(02):66.
 MA Jing,GU Jing-wen.Application of Decision Tree on Software Test Case Generation[J].,2008,(09):66.
[5]万松松 薛锦云 谢武平.最小测试用例集生成方法改进及应用[J].计算机技术与发展,2008,(10):181.
 WAN Song-song,XUE Jin-yun,XIE Wu-ping.Improvement and Application of Minimal Test Suite Generation Technology[J].,2008,(09):181.
[6]李龙澍 刘磊.基于AutoIt和Flow Chart的测试用例生成与管理[J].计算机技术与发展,2010,(07):56.
 LI Long-shu,LIU Lei.Generation and Management of Test Case Based on AutoIt and Flow Chart[J].,2010,(09):56.
[7]谢晶晶 李代平 郭琨.智能卡操作系统的测试技术[J].计算机技术与发展,2010,(08):21.
 XIE Jing-jing,LI Dai-ping,GUO Kun.Test Technology in Chip Operating System[J].,2010,(09):21.
[8]李乔 秦锋 郑啸.用分类树方法实现Web服务测试例的自动生成[J].计算机技术与发展,2007,(11):197.
 LI Qiao,QIN Feng,ZHENG Xiao.Automated Test Case Generation for Web Service by CTM[J].,2007,(09):197.
[9]尚冬娟 郝克刚 葛玮 李海军.软件测试中的测试用例及复用研究[J].计算机技术与发展,2006,(01):69.
 SHANG Dong-juan,HAO Ke-gang,GE Wei,et al.A Study of Test Cases and Reuse in Software Testing[J].,2006,(09):69.
[10]汪春昭 王鹏.基于Rough集的软件测试用例优化过程[J].计算机技术与发展,2007,(02):106.
 WANG Chun-zhao,WANG Peng.The Rough Set- Based Optimizing Process of Software Test Case[J].,2007,(09):106.
[11]戴翔[],毛宇光[][],吴非[],等. 基于数据流的测试用例自动生成研究[J].计算机技术与发展,2014,24(09):1.
 DAI Xiang[] MAO Yu-guang[][],WU Fei[],XUE Yi-fan[]. Research on Automatic Test Case Generation Based on Data Flow[J].,2014,24(09):1.
[12]贾冀婷. 基于K均值PSOABC的测试用例自动生成方法[J].计算机技术与发展,2015,25(06):12.
 JIA Ji-ting. Automatic Testcase Generation Method Based on PSOABC and K-means Clustering Algorithm[J].,2015,25(09):12.
[13]余久久. 基于探索性测试思想的可复用测试用例设计过程研究[J].计算机技术与发展,2015,25(09):187.
 YU Jiu-jiu. Research on Process of Reusable Test Case Design Based on Exploratory Testing Thinking[J].,2015,25(09):187.
[14]刘冬[][],靳蓓蓓[],阙向红[]. 基于一种遗传算法的最小测试用例集自动生成[J].计算机技术与发展,2016,26(04):86.
 LIU Dong[][],JIN Bei-bei[],QUE Xiang-hong[]. Automatic Generation of Minimal Test Set Based on a Genetic Algorithm[J].,2016,26(09):86.

更新日期/Last Update: 2016-10-25