首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 62 毫秒
1.
自动化回归测试的技术和实现   总被引:1,自引:1,他引:1  
提出了两种提高回归测试自动化程度的技术。其中一种技术采用数据驱动的方式,使得测试脚本成为可以驱动所有类似测试用例组的通用脚本,同时,实现了测试执行和测试逻辑的分离,使得测试用例的修改和维护更加容易。介绍的另一种技术使用附加的动态链接库来恢复被测软件的图形界面状态,使得软件图形界面的自动测试不易受到被测软件状态改变的影响,提高了整个自动测试系统的健壮性。  相似文献   

2.
为有效解决目前回归测试测试效率低以及手工测试操作复杂的问题,研究了自动化测试技术的原理和方法,提出了一种基于关键字驱动的自动化测试方法;介绍了Web自动化测试实施的过程和自动化测试框架的主要功能.在遵从保证产品质量和提高测试效率的原则基础上,对系统进行自动化测试的可行性分析,再进行自动化测试开发工具的选择、制作Demo和自动化测试框架开发,实现了以关键字驱动为核心,Ruby为开发语言的自动化测试框架.实验结果表明,该方法提高了回归测试效率和测试系统的可移植性.  相似文献   

3.
自动化测试的研究和探讨   总被引:1,自引:1,他引:1  
软件测试是软件质量保证的一个重要组成部分。介绍了软件测试的分类和自动化测试体系框架、流程设计,客观地探讨和分析了自动化测试充分性准则,在与软件手工测试做对比的情况下,得出了自动化测试的优点和其适应范围,并对今后自动化测试和手工测试的发展方向和使用范围进行了展望。  相似文献   

4.
对移动智能网原有的手工测试系统进行了分析,总结出测试系统存在的不足,提出了改进方案。改进后的自动化测试系统能够在测试用例执行的不同阶段实现测试自动化,包括测试用例的设计、数据表的配置、状态机的构造、测试结果的检查、测试环境的配置和回归测试。改进后的测试系统在移动智能网项目的测试中进行了实验,并对实验结果进行了分析。  相似文献   

5.
自动化测试脚本自动生成技术的研究   总被引:2,自引:0,他引:2  
软件自动化测试技术的出现,大大减轻了软件测试人员的测试压力,显著提高了测试工作的效率,但是自动化测试脚本的编写和维护工作也是测试自动化所面临的一项挑战。针对自动化测试脚本的编写和维护工作中遇到的困难,提出了一种基于RFT的测试脚本自动产生的方法,从而有效地提高了测试工作的效率,降低编写和维护测试脚本的开销。  相似文献   

6.
软件自动化测试技术的出现,大大减轻了软件测试人员的测试压力,显著提高了测试工作的效率,但是自动化测试脚本的编写和维护工作也是测试自动化所面临的一项挑战。针对自动化测试脚本的编写和维护工作中遇到的困难,提出了一种基于RFT的测试脚本自动产生的方法,从而有效地提高了测试工作的效率,降低编写和维护测试脚本的开销。  相似文献   

7.
软件回归测试技术   总被引:2,自引:1,他引:1  
对回归测试的基本概念和回归测试现状给出论述,分析Selenium开源工具在回归测试方面的缺陷和不足,研究并实现适应回归测试的自动化测试方案,并给出详细的实现方法。  相似文献   

8.
回归测试尽管繁琐、重复,但这是一种必须要做的测试,是否采取自动化测试工具,或是其他测试方式,是本文要讨论的问题.本文就回归测试的本质出发,探讨其关键性、重要性及其测试方法,有其学术和现实意义.  相似文献   

9.
针对电话自动拨测系统项目持续时间长、系统版本变更快、需求比较稳定的特点,把QTP自动化测试工具引入回归测试中,这样可以提高测试效率,缩短回归测试的时间.在系统版本基本稳定后,根据系统的特征制定相应的测试计划,录制测试脚本并对脚本进行优化和调试,运行测试脚本,对所得到的测试报告进行分析和总结.  相似文献   

10.
提出了一个使用CORBA中间件技术、基于开放的分布式体系结构的分布式自动化负载测试系统,该测试系统包括分布式自动化负载测试系统框架、该框架下各个模块的设计、实现以及为其它测试工具提供的外部接口。  相似文献   

11.
GUI自动化测试研究   总被引:1,自引:0,他引:1  
指出了目前自动化测试所采用的录制技术存在的不足,针对不断变化的图形用户界面测试代码很难维护和扩展的问题,采用基于对象的捕捉技术,设计了以Windows消息机制为基础的GUIATF测试框架,实现了高度灵活并易于扩展的图形用户界面自动化测试.  相似文献   

12.
This paper describes intra‐method control‐flow and data‐flow testing criteria for the Java bytecode language. Six testing criteria are considered for the generation of testing requirements: four control‐flow and two data‐flow based. The main reason to work at a lower level is that, even when there is no source code, structural testing requirements can still be derived and used to assess the quality of a given test set. It can be used, for instance, to perform structural testing on third‐party Java components. In addition, the bytecode can be seen as an intermediate language, so the analysis performed at this level can be mapped back to the original high‐level language that generated the bytecode. To support the application of the testing criteria, we have implemented a tool named JaBUTi (Java Bytecode Understanding and Testing). JaBUTi is used to illustrate the application of the ideas developed in this paper. Copyright © 2006 John Wiley & Sons, Ltd.  相似文献   

13.
回归测试是软件演化过程中频繁进行的且开销巨大的一项任务,测试用例集的优化程度直接影响着测试的成本和效率。针对回归测试过程的特点,提出一种对测试用例集优化的新方法,即通过对测试用例集进行必要的消除冗余和调整排序,完成了对初始测试用例集的精简以及执行顺序的确定过程,使得有限的测试资源得到科学合理的分配。实验结果表明,相对于以往的测试用例集优化方法,新方法的效率和资源分配的合理性均有了显著的提高。  相似文献   

14.
As part of the process to test a new release of an application, the performance testing team need to confirm that the existing functionalities do not perform worse than those in the previous release, a problem known as performance regression anomaly. Most existing approaches to analyse performance regression testing data vary according to the applied workload, which usually leads to the need for an extra performance testing run. To ease such lengthy tasks, we propose a new workload‐independent, automated technique to detect anomalies in performance regression testing data using the concept known as transaction profile (TP). The TP is inferred from the performance regression testing data along with the queueing network model of the testing system. Based on a case study conducted against two web applications, one open source and one industrial, we have been able to automatically generate the ‘TP run report’ and verify that it can be used to uncover performance regression anomalies caused by software updates. In particular, the report helped us to isolate the real anomaly issues from those caused by workload changes with an average F1 measure of 85% for the open source application and 90% for the industrial application. Such results support our proposal to use the TP as a more efficient technique in identifying performance regression anomalies than the state of the art industry and research techniques. Copyright © 2015 John Wiley & Sons, Ltd.  相似文献   

15.
With the advent of object‐oriented languages and the portability of Java, the development and use of class libraries has become widespread. Effective class reuse depends on class reliability which in turn depends on thorough testing. This paper describes a class testing approach based on modeling each test case with a tuple and then generating large numbers of tuples to thoroughly cover an input space with many interesting combinations of values. The testing approach is supported by the Roast framework for the testing of Java classes. Roast provides automated tuple generation based on boundary values, unit operations that support driver standardization, and test case templates used for code generation. Roast produces thorough, compact test drivers with low development and maintenance cost. The framework and tool support are illustrated on a number of non‐trivial classes, including a graphical user interface policy manager. Quantitative results are presented to substantiate the practicality and effectiveness of the approach. Copyright © 2002 John Wiley & Sons, Ltd.  相似文献   

16.
Regression testing is an expensive testing process used to validate modified software. Regression test selection and test‐case prioritization can reduce the costs of regression testing by selecting a subset of test cases for execution, or scheduling test cases to meet testing objectives better. The cost‐effectiveness of these techniques can vary widely, however, and one cause of this variance is the type and magnitude of changes made in producing a new software version. Engineers unaware of the causes and effects of this variance can make poor choices in designing change integration processes, selecting inappropriate regression testing techniques, designing excessively expensive regression test suites and making unnecessarily costly changes. Engineers aware of causal factors can perform regression testing more cost‐effectively. This article reports the results of an embedded multiple case study investigating the modifications made in the evolution of four software systems and their impact on regression testing techniques. The results of this study expose tradeoffs and constraints that affect the success of techniques and provide guidelines for designing and managing regression testing processes. Copyright © 2003 John Wiley & Sons, Ltd.  相似文献   

17.
软件回归测试中的自动测试生成方法   总被引:1,自引:0,他引:1  
软件回归测试一般使用现有的测试用例集进行测试,如何有效利用这些用例成为回归测试的关键。研究自动对现有测试用例集的扩展,包括自动改变测试用例的执行顺序、自动进行测试用例数目的增减等,提出基于现有测试用例随机生成新的测试用例集的方法。实验证明,该方法生成的测试文件能在原有环境下成功执行,能实现自动测试范围的扩大或缩小,以及测试时间的增加或减少,为软件回归测试提供了有用的自动化工具。  相似文献   

18.
基于Java的Web应用全球化自动测试设计   总被引:3,自引:0,他引:3  
李年  王诚 《计算机工程与设计》2005,26(12):3341-3343
随着Internet的广泛应用,基于Web页面的应用已成为当前计算机应用软件中最常用的形式。每一个Web软件产品都会有很多Web页面,尤其是支持多种语言的应用,由于如今对Web应用的测试绝大部分还是手工完成,进而带来了测试难度和工作量问题。描述了如何用Java和J2SE1.4来部分实现Web页面全球化的自动测试架构。  相似文献   

19.
重点将UML图和动态切片应用于回归测试中。针对现在应用于软件开发的UML图不能很好地满足软件测试的要求,引入了时序状态图和改进后的状态图,对两种图进行形式化定义,并且通过实例说明定义内容,其中时序状态图用于类间测试,改进后的状态图用于类内测试。对定义的图进行切片分析,形成测试步骤和测试算法。网上购物实例表明时序状态图和改进状态图可以提高回归测试效率。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号