节点文献

规则驱动的自动化测试框架研究与实现

Rules Driven Test Framework

【作者】 秦大勇

【导师】 罗省贤;

【作者基本信息】 成都理工大学 , 计算机应用技术, 2008, 硕士

【摘要】 当今的银行交易业务系统规模和复杂性与日俱增,业务的上线要求却越来越严格、急迫,一旦出错将造成不可估量的损失,目前业内普遍情况是采用手工测试,当上线时间急迫时测试质量与测试覆盖率都得不到保证。传统的自动化测试案例的执行和调试成本很高,可能在每次软件变更后,对测试案例需要进行大量的维护以维持其可用性,这类维护工作要求测试人员不但要懂业务,还要懂得程序代码才可以胜任。传统的手工测试、录制与回放技术、甚至包括自动测试工具的引入与使用,依旧不能满足企业对产品测试时间与质量的需求。本文研究的规则驱动的自动化测试框架技术方法,以银行业务系统测试为背景,采用积累库的概念,使行业经验成为一个可高度重用的财富,并且建立一定的标准,测试的深度与完善度不再受测试者的经验限制,同时考虑第三方测试工具的松散集成。使用该测试框架不要求测试人员掌握高深的计算机编程技术,只要少量的业务专家对系统进行分析,在逐步的测试过程中积累资料、相同的业务不必反复分析,就可进行深入地测试,并且很好的解决了回归测试的问题。目前自动测试框架领域在规则积累方面的研究与开发还处在探索阶段,本文通过对自动化测试框架与银行系统特点的技术研究,提出对特定领域的项目的测试方法,对于最终提高测试效率与测试质量,提高系统的可靠性与可维护性等具有重要意义。本文研究内容包括以下几点:①建立一套银行交易系统的模拟系统以及特殊硬件的模拟信号,这是这类自动测试系统面向对象框架的基础体系结构。②采用更高层面的测试策略,解决功能测试自动化中的新问题,开辟新的测试思路,使测试的自动化程度更高。③使用基于领域分析的开发方法,开发了一个自动化测试框架来实现自动化测试项目,采用一套逐级生成的机制完成测试设计到测试数据的转换。④框架应用,使用以上提到的测试框架开发一个测试平台,并对该平台的界面与操作进行了展示,使用实际项目的数据做测试,验证了框架的可行性。

【Abstract】 Today the banking business system grows more complexity, on the other side the requirement of running business demands more and more stringent and urgent. Once the business system runs errors, it would lead incalculable losses. Manual test is used in most situations. But both the quality and test coverage can not be guaranteed when the running time is not enough. The execution and debugging of traditional automated test cost high, and substantial maintenance work may need everytime after software upgrade. These maintenance work require test professionals. The traditional manual test, record/replay technology, even including the introduce and use of automated testing tools, could not meet the requirement of testing time and quality.Rules-driven automated test framework use the background of the banking system testing, using the accumulation of the concept of industry experience to become a high degree of reuse of the wealth and establish a certain standards, testing and improvement of the depth of the test are no longer subject to The experience of restrictions, taking into account the third-party testing tools loosely integrated. Use of the test framework does not require testing staff in advanced computer programming, as long as a small business expert analysis of the system, gradually accumulated in the course of the test data, the same business do not have to repeatedly analysis can be conducted in-depth testing, and very good at Regression testing. At present in the field of automatic test framework of rules accumulated research and development is still in the exploratory stage, the paper through the automated test framework of the banking system and the characteristics of the technical studies on specific proposed projects in the field of testing methods.

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