51Testing软件测试论坛

标题: some test knowledge(希望共同学习) [打印本页]

作者: nancy_    时间: 2009-2-15 19:41
标题: some test knowledge(希望共同学习)
一些测试知识是不错的,用英语写的,而且不难看懂,希望大家共同学习,交流.

1.What makes a good Software Test engineer?
A good test engineer has a 'test to break' attitude, an ability to take the point of view of the customer, a strong desire for quality, and an attention to detail. Tact and diplomacy are useful in maintaining a cooperative relationship with developers, and an ability to communicate with both technical (developers) and non-technical (customers, management) people is useful. Previous software development experience can be helpful as it provides a deeper understanding of the software development process, gives the tester an appreciation for the developers' point of view, and reduce the learning curve in automated test tool programming. Judgement skills are needed to assess high-risk areas of an application on which to focus testing efforts when time is limited.


2.What's a 'test case'? •A test case is a document that describes an input, action, or event and an expected response, to determine if a feature of an application is working correctly. A test case should contain particulars such as test case identifier, test case name, objective, test conditions/setup, input data requirements, steps, and expected results.

•Note that the process of developing test cases can help find problems in the requirements or design of an application, since it requires completely thinking through the operation of the application. For this reason, it's useful to prepare test cases early in the development cycle if possible.
3.What's the best way to choose a test automation tool? 关于自动工具的选择


It's easy to get caught up in enthusiasm for the 'silver bullet' of test automation, where the dream is that a single mouse click can initialize thorough unattended testing of an entire software application, bugs will be automatically reported, and easy-to-understand summary reports will be waiting in the manager's in-box in the morning.

Although that may in fact be possible in some situations, it is not the way things generally play out.

In manual testing, the test engineer exercises software functionality to determine if the software is behaving in an expected way. This means that the tester must be able to judge what the expected outcome of a test should be, such as expected data outputs, screen messages, changes in the appearance of a User Interface, XML files, database changes, etc. In an automated test, the computer does not have human-like 'judgement' capabilities to determine whether or not a test outcome was correct. This means there must be a mechanism by which the computer can do an automatic comparison between actual and expected results for every automated test scenario and unambiguously make a pass or fail determination. This factor may require a significant change in the entire approach to testing, since in manual testing a human is involved and can:

make mental adjustments to expected test results based on variations in the pre-test state of the software system
often make on-the-fly adjustments, if needed, to data used in the test
make pass/fail judgements about results of each test
make quick judgements and adjustments for changes to requirements.
make a wide variety of other types of judgements and adjustments as needed.
For those new to test automation, it might be a good idea to do some reading or training first. There are a variety of ways to go about doing this; some example approaches are:

Read through information on the web about test automation such as general information available on some test tool vendor sites or some of the automated testing articles listed in the Softwareqatest.com Other Resources section.
Read some books on test automation such as those listed in the Software QA and Testing Resource Center Bookstore
Obtain some test tool trial versions or low cost or open source test tools and experiment with them
Attend software testing conferences or training courses related to test automation
As in anything else, proper planning and analysis are critical to success in choosing and utilizing an automated test tool. Choosing a test tool just for the purpose of 'automating testing' is not useful; useful purposes might include: testing more thoroughly, testing in ways that were not previously feasible via manual methods (such as load testing), testing faster, or reducing excessively tedious manual testing. Automated testing rarely enables savings in the cost of testing, although it may result in software lifecycle savings (or increased sales) just as with any other quality-related initiative.

With the proper background and understanding of test automation, the following considerations can be helpful in choosing a test tool (automated testing will not necessarily resolve them, they are only considerations for automation potential):

Analyze the current non-automated testing situation to determine where testing is not being done or does not appear to be sufficient
Where is current testing excessively time-consuming?
Where is current testing excessively tedious?
What kinds of problems are repeatedly missed with current testing?
What testing procedures are carried out repeatedly (such as regression testing or security testing)?
What testing procedures are not being carried out repeatedly but should be?
What test tracking and management processes can be implemented or made more effective through the use of an automated test tool?
Taking into account the testing needs determined by analysis of these considerations and other appropriate factors, the types of desired test tools can be determined. For each type of test tool (such as functional test tool, load test tool, etc.) the choices can be further narrowed based on the characteristics of the software application. The relevant characteristics will depend, of course, on the situation and the type of test tool and other factors. Such characteristics could include the operating system, GUI components, development languages, web server type, etc. Other factors affecting a choice could include experience level and capabilities of test personnel, advantages/disadvantages in developing a custom automated test tool, tool costs, tool quality and ease of use, usefulness of the tool on other projects, etc.

Once a short list of potential test tools is selected, several can be utilized on a trial basis for a final determination. Any expensive test tool should be thoroughly analyzed during its trial period to ensure that it is appropriate and that it's capabilities and limitations are well understood. This may require significant time or training, but the alternative is to take a major risk of a mistaken investment.
作者: nancy_    时间: 2009-2-20 15:04
So  poor...
No one reply.

作者: alexchen    时间: 2009-3-18 16:49
Thank you. It's good
作者: helina168    时间: 2009-7-3 20:57
thank you evry much!studying........
作者: afasdf    时间: 2009-7-6 20:06
8错滴
作者: susy888    时间: 2009-7-8 21:44
in studying......
作者: kams    时间: 2010-1-13 22:59
学习了。。。
作者: francais    时间: 2010-1-15 10:18
共享是王道
作者: xiaoxin36    时间: 2010-5-12 18:06
thanks your sharing ~~~~~~




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2