燕子's profile当人微笑PhotosBlogLists Tools Help

Blog


    August 10

    测试学习笔记(五)

    最近忙着测试新版本,一直没有更新我的博客,今天开始又继续 。

    错误处理产生的错误:未预料到错误发生的可能性并防止其发生,没有注意错误状态,以及较严重的:程序可能与错误数据一起工作并最终产生错误结果的情况。

    ·         错误预防:

    1)       不充分的初始状态验证

    2)       不充分的用户输入检查

    3)       对受损数据不能充分预防

    4)       不充分的参数传递测试

    5)       针对操作系统的预防不充分

    6)       不适当的版本控制

    7)       针对恶意使用的不充分预防

    ·         错误检测

    1)       忽视溢出

    2)       忽视不可能的值

    3)       忽视看上去不真实的值

    4)       忽视错误标志

    5)       忽视硬件缺陷或错误情况

    6)       数据比较

    ·         错误恢复

    1)       自动错误更正

    2)       未能报告一个错误

    3)       未能设置一个错误标志

    4)       中止错误

    5)       从硬件问题中恢复

    6)       不能从遗失磁盘中退出

    ·         边界相关的错误

    1)       边界情况的处理不当

    2)       错误边界

    3)       边界外情况的错误处理

    ·         不同边界错误的考虑方式:上溢出或下溢出

    1)       数值边界

    2)       与一个边界相等

    3)       多种多样的边界

    4)       空间中的边界

    5)       时间的边界

    6)       硬件相关边界

    ·         计算错误

    1)       很差的逻辑

    2)       很差的算法

    3) 不精确的计算

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://lvyan1122.spaces.live.com/blog/cns!998A167D830FBFDF!188.trak
    Weblogs that reference this entry
    • None