桌面端软件测试毕业论文
2016年12月16日
桌面端软件测试的设计
摘要
作为软件开发的重要环节,软件测试越来越受到人们的重视随着软件开发规模的增大、复杂程度的增加,以寻找软件中的错误为目的的测试工作就更加困难为了尽可能多地找出程序中的错误,生产出高质量的软件产品,加强对测试工作的研究尤为重要本课题以Sun中国工程院的Linux桌面系统项目——JavaDesktopSystem的测试工作为基础,结合现有测试理论对基于Linux的桌面系统的测试方法和测试技术进行了深入细致的分析研究并取得了多项创新性成果在理论方面提出了复合白盒测试法和缺陷图表统计模型复合白盒测试法是一种综合性的测试方法,它利用测试覆盖技术和面向缺陷的测试方法使发现的缺陷数量最大化,利用域比较测试技术和Mutation法降低测试用例的执行次数从而减轻工作量缺陷图表统计模型是基于缺陷统计分析的桌面软件质量评价方法,其核心包括缺陷分布统计、缺陷龄期统计和缺陷趋势统计这些理论方法已在JavaDesktopSystem的测试实践中得到应用,并取得很好的实际效果设计测试用例和测试工具是桌面系统软件测试中的关键技术问题本文以JavaDesktopSystem的重要组件Mozilla浏览器为对象,阐述了测试用例DOM引擎和Javascript解释器、辅助测试工具IECT和自动化性能测试工具Loadpage 的实现方法,并详细介绍了许多技术解决方案这些测试用例和测试工具在Mozilla浏览器的测试中正发挥着重要的作用
关键词:Linux、桌面端、软件测试
Abstract
As an important part of software development, software testing is more and more attention with the increase of software development scale and complexity, to find the mistakes in the software for the purpose of testing is more difficult as much as possible in order to find bugs in the program, to produce high quality software products, it is very important to strengthen the research the testing work in this research project Linux desktop system Sun China Academy of Engineering -- JavaDesktopSystem test as the basis, combined with the existing testing theory is a testing method of comprehensive test method based on Linux desktop system and test technology is analyzed in detail and made a number of innovative achievements in the theory of composite white box testing method and bug graphical statistic model of composite white box testing method is proposed, it uses technology and test coverage Test method for defects that maximizes the number of defects found, using domain comparison test technique and Mutation method to reduce test execution to reduce workload bug graphical statistic mode is desktop software quality evaluation method based on the statistical analysis of defects, which includes defect distribution statistics, defect age and bug trend statistics of the theory and method the test has been applied in the practice of JavaDesktopSystem,
and achieved good practical results of test case design and test tools is the key technology in Linux desktop system testing to an important component of Mozilla's JavaDesktopSystem browser as the object, introduces a method to implement test cases DOM engine and the Javascript interpreter, auxiliary testing tools and automated performance test IECT Loadpage tools, and introduces many technical solutions These test cases and test tools are playing an important role in the testing of Mozilla browser。
Key words:Desktop terminal、software testing、Linux
目录
摘要....................................。
.. (I)
Abstract (I)
1.软件测试的介绍 (1)
1.1软件测试论文简介 (1)
1.2软件测试的术语 (1)
1.3软件测试的目的 (1)
1.4软件测试的原则 (2)
2.桌面端软件测试用到的方法 (2)
2.1黑盒测试 (2)
2.2白盒测试 (2)
2.3灰盒测试 (3)
3.移动端软件测试注意的地方 (4)
4.与传统软件测试的异同 (5)
4.1相同的 (5)
4.2不同点 (5)
5.软件测试发展趋势 (8)
5.1国外发展前景 (8)
5.2国内发展前景 (9)
6.软件测试的分析
6.1静态错误分析 (10)
7.软件测试的作用总结 (11)
1.软件测试的介绍
1.1软件测试论文简介
软件测试技术的自动化是软件测试的发展趋势,正确、合理地实施自动化测试,能够快速、彻底地对软件进行测试,从而提高软件质
量,节省经费,缩短产品发布周期。
本文系统的论述了在自动化测试
中所遇到的一些问题和误解,包括测试计划、测试模型、测试流程、
测试用例、测试脚本、缺陷管理、人员安排、测试工具使用,并在全
国短波监测网络系统的测试中得到了实践。
在本文设计中,尽可能
地应用各模型中对项目有实用价值的方面,而不拘泥于某个具体的模
型。
在测试实践中:以 W 模型作为参考框架,同时灵活运用H 模型
独立测试的思想。
在达到恰当的就绪点时就开展独立的测试工作,
同时将测试工作进行迭代。
“尽早测试”、“全面测试”、“全过程
测试”和“独立、迭代的测试”是测试所遵循的四个原则,这在实际
测试项目中得到了应用并得到了良好的效果。
本文以整个短波系统
开发生命周期为主线,相继引入了测试工具。
其中测试辅助工具CVS
可以建立资源版本,建立每日构建。
TestDirector系统地控制整个
测试过程,并创建整个测试工作流的框架和基础,使整个测试管理过
程变得更为简单和有组织。
winRunner 是对系统进行功能测试的,通
过设计的脚本来自动复现手工操作。
LoadRunner 是对系统性能进行
测试的,通过模拟上千万用户实施并发负载及实时性能监测的方式来
确认和查找问题。
以上工具交互配合适用,在不断的测试迭代中改善
了短波系统开发过程,提高了系统的可靠性
1.2软件测试的术语
❖软件质量(SW Quality):软件的功能和性能满足用户需要的程度
❖软件Build:用于测试的软件中间版本程序。
❖软件缺陷(SW Defect/bug/error):软件的功能/性能/界面/文档与软件需求文档和用户的需要不一致的现象
❖软件缺陷生命周期(SW defect lifecycle):报告、确认、修正、验证、关闭。