美文网首页百人计划软件测试精进之路软件测试学习资料
自动化测试需要知道的50件事~本人的笔记 + 心得部分 (目录)

自动化测试需要知道的50件事~本人的笔记 + 心得部分 (目录)

作者: cynthia猫 | 来源:发表于2018-04-28 10:44 被阅读97次

    50 Things Automation Engineers Should Know
    先放出这本书的英文目录如下,后面有中文部分,往下面拖哈。

    Chapter 1: Scripting

    1. Do Not Use Record & Play in Real Projects .
    2. Do Not Use Pauses
    3. Provide Exit by Timeout for Loops
    4. Do Not Consider Test Automation as Full-Fledged Development
    5. Do Not Write Bulky Code
    6. Verify All Options of Logical Conditions
    7. Use Coding Standards
    8. Use Static Code Analyzers
    9. Add an Element of Randomness to Scripts
    10. Do Not Perform Blind Clicks Against Nonstandard Controls
    11. Learn and Use Standard Libraries
    12. Avoid Copy and Paste.
    13. Do Not Use try...catch with an Empty catch Block
    14. Separate Code from Data
    15. Learn How to Debug
    16. Do Not Write Code for the Future
    17. Leave the Code Better Than It Was
    18. Choose a Proper Language for GUI Tests
    19. Remember to Declare and Initialize Variables

    Chapter 2 Testing

    1. Do Not Duplicate Tested Application Functionality in the Scripts
    2. Each Test Should Be Independent
    3. What Should Not Be Automated?
    4. Ask the Developers for Help
    5. Cloud Testing
    6. Introduce Automation for Corner Cases
    7. The Difference Between Error and Warning
    8. Use the Appropriate Methodologies
    9. Verification of Individual Bugs
    10. Make a Pilot Project Before Writing Real Tests

    Chapter 3: Environment

    1. Choose a Proper Set of Tools for Your Needs
    2. Do Not Automatically Register Bugs from Scripts
    3. Do Not Chase After a “Green Build” in the Prejudice of Quality
    4. Learn the Tool You Work With
    5. Make Use of Version Control Systems
    6. Avoid Custom Forms
    7. Simplify Everything You Can
    8. Automate Any Routine

    Chapter 4: Running, Logging, Verifying

    1. Run Scripts as Often as Possible
    2. Perform an Automatic Restart of Failed Tests
    3. A Disabled Test Should Be Provided with a Comment
    4. Errors in Logs Should Be Informative
    5. Make a Screenshot in Case of Error
    6. Check the Accuracy of Tests Before Adding Them to theRegular Run
    7. Avoid Comparing Images

    Chapter 5: Reviewing

    1. Write Tests That Even Non-Automation EngineersCan Understand
    2. Avoid Unneeded Optimization
    3. Review Someone Else’s Code Regularly
    4. Participate in Forums and Discussions
    5. Perform Refactoring
    6. Remove Tests That Provide Minimal Benefit

    整理自Gennadiy Alpaev, Software Testing Automation Tips - 50 Things Automation Engineers Should Know(2017),对应着本书的目录部分,不得不说有几条真的是曾经犯过,要是能早点看到这本书多好!

    50 Things Automation Engineers Should Know.png

    以下为个人的读书笔记+心得部分

    关于这部分的说明:非原文翻译,是我根据作者原文,加上自己的理解,写下的内容。算是半笔记半心得体会性质的原创内容。为了加以区分,我会尽量把纯粹自己观点的大段文字使用加粗处理。
    这部分目前更新ing,更新顺序并没有按照原书章节~~ 感兴趣的小伙伴可以先关注着~ 恩,我会把这50个点全部更新完的!

    由于内容过长,所以分了5个章节,5篇文章来写全部的内容,以下是目录:

    第一章 脚本 Scripting (更新ing)

    https://www.jianshu.com/p/eb46b0b5322e

    第二章 测试 Testing (已完成)

    https://www.jianshu.com/p/0976d99d48a9

    第三章 环境 Environment (已完成)

    https://www.jianshu.com/p/322ffd68da29

    第四章 运行,记录日志,验证 Running, Logging, Verifying (已完成)

    https://www.jianshu.com/p/56c7960bd866

    本文在我的个人博客上的地址
    https://mmcatt.github.io/2018/05/02/automation-50tips-menu/

    相关文章

      网友评论

        本文标题:自动化测试需要知道的50件事~本人的笔记 + 心得部分 (目录)

        本文链接:https://www.haomeiwen.com/subject/biawlftx.html