摘要
随着软件产品的交付周期越来越短,敏捷研发模式的应用范围更加广泛。为解决敏捷团队中测试用例设计、开发不能满足产品持续快速交付的问题,采用领域驱动方法,从需求特性出发,采用实例化需求的方法设计测试用例,然后对被测领域进行建模,通过领域关键字结构模型分析用领域语言描述测试用例,对领域对象模型进行分析,采用面向对象设计、开发,通过不断演进和重构,迭代地完成测试用例的开发。一方面使得测试用例的组织、设计、开发更加有效,提高了测试用例的开发和维护效率,测试用例更加易于理解、清晰简洁,能够通过重构快速应对变化;另一方面可以采用ATTD的方法来驱动产品的开发。该方法在通信系统测试中得到了应用推广,取得了很好的效果。
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 developroment 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 system tests with good results.
出处
《计算机技术与发展》
2016年第9期56-60,共5页
Computer Technology and Development
基金
国家自然科学基金资助项目(61402482)
关键词
测试用例
领域驱动
实例化需求
领域建模
面向对象
重构
test case
domain driven
specification by example
domain modeling
object-oriented
restructuring