自动化测试就是当你按一个按钮或一条命令就执行一整套的测试程序。这些测试有一些可能是手工的,一些是开发人员编程实现的。从基本的由一类似于是xUnit的单元测试框架(NUnit,JUnit,CppUnit,HttpUnit)开始, 每一个测试需要完成一些设置在它开始之前,最后还需要做一些清理工作,并且产生详细的报告与结果。自动化测试的抽象层图是这样的:

testwareabstraction

      通常我们使用一些工具与框架,一些是开源,一些是商业,还有一些是需要根据需求自行开发的工具,当然这需要管理层的支持以及人力成本。 一般大型软件公司都有适合自己的自动化测试工具。都需要一些脚本去驱动与配置它们。

automationframework

 

现在很多电子商务都是分布式架构的,对分布式自动化测试能实现:

  • 客户端/服务器(C/S)的架构
    可以多种系统平台工作:Windows,Linux,Max,Xbox
    分布式测试(大部分是脚本)
    实现传送测试反馈报告
    使用期望的参数实现虚拟化的平台测试
    简单的API
    提供CPU与内存压力的信息机器

设想的图示是这样的:

tests_inf

 

更多内容有时间详细讨论。

一些组件与工具分类视图:

TEST AUTOMATION TOOL EXPERTISE

 

目前业界内的相关产品与工具:


开源与免费:
[Robot Framework] --Generic test automation framework for acceptance testing and acceptance test-driven development (ATDD).
[Selenium] a suite of tools to automate web browsers across many platforms
[Arquillian] --a revolutionary testing platform for Java and the JVM
[Gradle] automate the building, testing, publishing, deployment and projects
[Capybara] --Confidently implement automated tests for web applications
[Chef] --automate your cloud and server infrastructure with
[Cucumber] --The Latest in Ruby Testing

[Software Testing Automation Framework STAF]

[SmartFrog ]

[JTR Framework]

 

商业:
Microsoft [Visual Studio]
[TestComplete] -- an open test platform for easily creating, maintaining, and executing automated tests for desktop, Web, mobile, and client-server[TestStudio] is Telerik’s QA solution for automating your manual testing.
HP [QTP]
[WinRunner]
IBM [Rational Robot]
[AdventNet QEngine]
[SilkTest]
[QA Run]

 

构建自动化测试服务:

thCA8TB51T

 

 

由于时间与篇幅有限,没有详细赘述,在这儿主要是抛转引玉。希望对您软件开发与测试有帮助。

您可以感兴趣的文章:

软件开发的专业化

 


作者:Petter Liu
出处:http://www.cnblogs.com/wintersun/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
该文章也同时发布在我的独立博客中-Petter Liu Blog

posted on 2014-04-23 20:36  PetterLiu  阅读(1261)  评论(0编辑  收藏  举报