下面是 July, 2008的汇总

软件测试基础-Alpha和Beta

Wednesday, July 16th, 2008

软件产品的生命周期,我们经常说到Alpha测试,Beta测试(其实还有Gamma, Delta测试),软件发布的时候经常看到RC, RTM,这些究竟是如何界定的,发布阶段到底怎么划分的,我们今天就看看wiki的解释

A software release is the distribution, whether public or private, of an initial or new and upgraded version of a computer software product. Each time a software program or system is changed, the software engineers and company doing the work decide on how to distribute the program or system, or changes to that program or system. Software patches are one method of distributing the changes, as are downloads and compact discs.
Software release stages

Software release stages

The software release life cycle is composed of different stages that describe the stability of a piece of software and the amount of development it requires before final release. Each major version of a product usually goes through a stage when new features are added, or the alpha stage; a stage when it is being actively debugged, or the beta stage; and finally a stage when all important bugs have been removed, or the stable stage. Intermediate stages may also be recognized. The stages may be formally announced and regulated by the project’s developers, but sometimes the terms are used informally to describe the state of a product. Conventionally, code names are often used by many companies for versions prior to the release of the product, though the actual product and features are rarely secret.
(more…)

小猪猪看电影记

Saturday, July 12th, 2008

这是小猪猪第三次看电影了-如果算上在妈妈肚子里的那次。第一次看电影是出生之前,嫌太吵没看完就中途退场了。

第二次是一岁半左右的时候,看投名状,那么惊天动地的打斗场面,居然就睡着了!

这次原计划去看《功夫熊猫》,听看过的朋友反馈还不错,结果错过了档期,早上打电话过去,东海太平洋全天都是新片《赤壁》,本想改变计划。无奈昨天答应他的,他已经记住了,早上一起床就闹着去看电影,冒着毛毛细雨,我们一家三口就出发了。

小朋友的注意力是有时限的,这点跟大人一样,差别是小朋友的更短,两个半小时的《赤壁》看到一个小时以后,就开始坐不出了,把鞋脱了在座位下面跑来跑去,幸好中午场的人不是很多,跑到最后累了,居然又一次在电影院睡着了!我原本还担心八卦阵那样血腥的打斗场面会不会对他幼小的心灵造成什么阴影,不知道两岁多点这个时候会不会有记忆?反正我两岁左右的事情是一点不记得了,:-D

距离电影快结束的时候,突然发现我放在裤兜里的钱包不见了,因为那一排就我们一家三口,所以初步怀疑是滑落在地上了,后来赶紧借手电过来找,把那排座位翻了遍,都没找着,心想完了,赶紧挂失吧,还好就两张招行的卡,赶紧95555就打过去了,报了卡号之后,很快就挂失了,正打算在挂另外一张的时候,电影散场了,工作人员帮忙在座位的夹缝找到了丢失的钱包-虚惊一场。顺便赞一句-招行的服务效率和质量还是不错的,没辜负我一直是他的忠实用户。

软件测试基础-自动化测试和手工测试

Tuesday, July 8th, 2008

自动化测试是近年在国内比较流行的概念,针对自动化测试对应的就是手工测试了,这两个概念之间的对照,从维基百科(wiki)转摘如下:

Test automation

Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions. Commonly, test automation involves automating a manual process already in place that uses a formalized testing process. < ==这里说,测试自动化是对已经比较规范的的手工流程进行自动化的过程,言外之意就是如果你连手工的流程都还不规范,还是别自动化了。

Over the past few years, tools with graphical user interfaces (GUI) that help programmers quickly create applications have dramatically improved programmer productivity. This has increased the pressure on testers, who are often perceived as bottlenecks to the delivery of software products. Testers are being asked to test more and more code in less and less time. <==看来自动化测试工具也不全是好事,测试人员的压力越来越大了。Test automation is one way to do this, as manual testing is time consuming. As different versions of software are released, the new features will have to be tested manually time and again. But, now there are tools available that help the testers in the automation of the GUI which reduce the test time as well as the cost; other test automation tools support execution of performance tests.

Many test automation tools provide record and playback features that allow users to record interactively user actions and replay it back any number of times, comparing actual results to those expected. However, reliance on these features poses major reliability and maintainability problems. Most successful automators use a software engineering approach, and as such most serious test automation is undertaken by people with development experience. <==大多数成功的测试自动化案例都是把它作为一个软件工程来实施,并且大多数情况下测试自动化都是具有开发经验的人来担任的。

A growing trend in software development is to use testing frameworks such as the xUnit frameworks (for example, JUnit and NUnit) which allow the code to conduct unit tests to determine whether various sections of the code are acting as expected under various circumstances. <==看来测试自动化框架的确很流行。Test cases describe tests that need to be run on the program to verify that the program runs as expected. All three aspects of testing can be automated.
(more…)


Close
E-mail It