Error Handling Testing(容错性测试)
来源:互联网 发布:在线写js 编辑:程序博客网 时间:2024/06/03 20:18
Error handling refers to the anticipation, detection, and resolution of programming, applicaition and communications errors. Specialized programs, called error handlers, are available for some applications. The best programs of this type forestall errors if possible, recover from them when they occur without terminating the application, or (if all else fails) gracefully terminate an affected application and save the error information to a log file.
In programming, a development error is one that can be prevented. Such an error can occur in syntax or logic. Syntax errors, which are typographical mistakes or improper use of special characters, are handled by rigorous proofreading. Logic errors, also called bugs, occur when executed code does not produce the expected or desired result. Logic errors are best handled by meticulous program debugging. This can be an ongoing process that involves, in addition to the traditional debugging routine, beta testing prior to official release and customer feedback after official release.
A run-time error takes place during the execution of a program, and usually happens because of adverse system parameters or invalid input data. An example is the lack of sufficient memory to run an application or a memory conflict with another program. On the Internet, run-time errors can result from electrical noise, various forms of malware or an exceptionally heavy demand on a server. Run-time errors can be resolved, or their impact minimized, by the use of error handler programs, by vigilance on the part of network and server administrators, and by reasonable security countermeasures on the part of Internet users.
Usage
- It determines the ability of applications system to process the incorrect transactions properly
- Errors encompass all unexpected conditions.
- In some system approx. 50% of programming effort will be devoted to handling error condition.
Objective
- Determine Application system recognizes all expected error conditions.
- Determine Accountability of processing errors has been assigned and procedures provide a high probability that errors will be properly corrected.
- Determine During correction process reasonable control is maintained over errors.
How to Use
- A group of knowledgeable people is required to anticipate what can go wrong in the application system.
- It is needed that all the application knowledgeable people assemble to integrate their knowledge of user area, auditing and error tracking.
- Then logical test error conditions should be created based on this assimilated information.
When to Use
- Throughout SDLC.
- Impact from errors should be identified and should be corrected to reduce the errors to acceptable level.
- Used to assist in error management process of system development and maintenance.
Example
- Create a set of erroneous transactions and enter them into the application system then find out whether the system is able to identify the problems.
- Using iterative testing enters transactions and trap errors. Correct them. Then enter transactions with errors, which were not present in the system earlier.
- Error Handling Testing(容错性测试)
- 容错性测试
- Error Handling
- Error Handling
- 容错性测试的测试点
- Exploratory Testing (探索性测试)
- 容错恢复性测试(二)
- Requirements of error handling
- 2.4 Handling &Error Code
- Error handling in WCF
- 错误处理(Error Handling)
- Error Handling In VBA
- Error handling in VBScript
- RadInput Error handling
- 【pig】Error Handling
- Erlang Error Handling
- Error Handling with exceptions
- Error Handling and Debugging
- Windows server 2003 更改域名称
- %type 和%rowtype 的区别!
- Testing Measurement(测试有效性评估)
- spring源码学习目录
- 引言0.1 人脸识别的概念
- Error Handling Testing(容错性测试)
- 将域控制器降级为独立服务器或成员服务器(操作备忘)
- BuildQuery
- 引言0.2 人脸识别系统的概念
- 怎样写测试缺陷报告(英文)
- 引言0.3 人脸图像的质量
- Designing Test Cases--测试用例设计(英文)
- 设计模式学习----观察者模式
- What is the 'software life cycle'?