节点文献

数据移植自动化测试的设计与实现

Design and Implementation of Data Migration Automation Testing

【作者】 孙菲

【导师】 刘知青;

【作者基本信息】 北京邮电大学 , 软件工程, 2008, 硕士

【摘要】 随着现代信息技术的飞速发展,企业级应用系统的更新速度越来越快,当一个企业进行收购、整合不同系统中的数据或升级到新的应用程序时,最重要的是集成系统的数据并确保其质量,因此数据移植测试越来越多的受到人们的重视。传统的数据移植测试主要是依靠测试人员的手工测试,对于验证数据的选取只能简单的选取部分数据,从而影响测试质量。自动化测试技术的出现为其提供了良好的解决方案,自动化测试的最大优势就是高效率、低成本,但是自动化测试如果没有经过良好的设计,不但耗资大,而且后续还有大量的维护工作。因此对自动化测试框架的研究具有很重要的意义。正是在这个前提之下,本文对现有的自动化测试技术进行了研究,结合已有的测试项目经验,在关键字驱动和数据驱动的自动化测试框架基础之上,提出了数据移植自动化测试框架DMTestAuto(DataMigration Testing Automated),并应用到了实际项目中。该框架不但实现了测试对象、测试用例和测试脚本之间的关联,而且实现了测试脚本、测试数据、业务逻辑和测试对象的分离。在DMTestAuto框架的指导下,成功实现了一个健壮的、易扩展、易维护的自动化测试系统。在自动化测试实施之后,通过对测试结果的分析,并与手工测试进行了比较,充分体现了此次自动化测试框架在数据移植过程中的实用性,解决了传统测试过程中遇到的难题。最后,本文总结了课题研究的主要工作,并对后续工作进行了展望。

【Abstract】 With the development of information science and technology, the enterprise-class applications update more and more fast. When an enterprise integrates the data of different systems or upgrades to the new application, the most important work is to integrate the data of different systems and to ensure its quality. So the data migration testing is attached more and more people’s attention.The traditional data migration testing is mainly relying on the manual test, for the data validation can only select part of the data, which impact on the test quality. The automated testing technology is providing a good solution for this situation. Higher efficiency and lower cost are the most advantages of automation testing. But if the automation testing is not designed well, not only it will cost more, but also there is huge maintenance work to do the next time. So it’s meaningful to do some research for the software automation testing framework.On the condition, according to some research about the popular automation technology and real project experience, finally in this paper we put forward a new automation framework named Data Migration Testing Automated (DMTestAuto) which based on keyword-driven and data-driven testing framework. And we also apply this framework into a real project. This framework not only realizes the correlations among test object, test case and teat script, but also implements the division among test script, test data, business logic and test object. Base on the DMTestAuto framework, we implement a automation testing system which is robust、easy to expand and maintenance successfully.After the implement of automation testing, through the analysis of the test results and compare with the manual test, it fully reflects the feasibility of the DMTestAuto framework, and resolves the difficulties encountered in the traditional testing. In the end, the paper summarizes the main researched task and prospects the following work.

  • 【分类号】TP311.52
  • 【被引频次】3
  • 【下载频次】63
节点文献中: