基于TDD的领域对象层对象提取方法研究  

A Software Design Method of Recognition on Logic Objects Based on TDD

在线阅读下载全文

作  者:姚远[1] 张樊[1] 黄玉兰[1] YAO Yuan;ZHANG Fan;HUANG Yu-lan(School of Information Engineering,Wuchang Institute of Technology,Wuhan 430065,China)

机构地区:[1]武昌工学院信息工程学院,湖北武汉430065

出  处:《软件导刊》2018年第4期36-38,共3页Software Guide

基  金:湖北省教育厅人文社会科学研究项目(16G185);武昌工学院校级科研创新团队项目(2017T02)

摘  要:目前云系统服务端存在着各类分层模型架构,尽管这些分层架构通常有所差异,但始终存在着领域对象层(Domain Object Layer)。领域对象层中的对象对真实世界里的业务及角色进行抽象与映射,封装了现实世界中的关键业务过程与实体状态。因此,如何建立云服务领域对象层是面向对象开发方法中的关键部分。测试驱动开发(Test Driven Development,简称TDD)作为一种软件开发方法,使用一组单元测试用例作为软件开发的基础与手段,意在使软件开发过程始终不偏离软件的主要功能,以实现敏捷开发。提出一种基于TDD进行领域对象层的对象提取、构建领域对象层的方法,并通过实例对该方法进行验证。验证结果显示,构建的领域对象层粒度精细,识别准确、完整。There are various layered model structures in the present cloud system server.Although in general these structures are different they all have domain object layer(DOL).The objects in DOL are the abstraction and reflection of operation and roles in the real world and they encapsulate the key operational process and entity status.Therefore how to establish DOL is the key part of the whole development.This paper uses test-driven development(TDD)as the software development method in which a group of unit test samples are employed as the basis to ensure basic users'needs to be met and agile development to be accomplished in the whole development process.It is proposed to do object extraction based on TDD and establish DOL.The test confirms that the logic objects in the established DOL are in very tiny particle size with accurate and complete recognition.

关 键 词:TDD 测试用例 领域对象层 对象识别 软件建模 云系统 

分 类 号:TP301[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象