Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Beginner's Guide to Test Automation

Angela Riggs
November 07, 2019

A Beginner's Guide to Test Automation

TestBash San Francisco | 2019

Angela Riggs

November 07, 2019
Tweet

More Decks by Angela Riggs

Other Decks in Technology

Transcript

  1. @angelariggs_ TestBash SF | 2019 ✦ How do I choose

    a framework? ✦ Who should write the tests? ✦ Should I run tests in our pipeline? ✦ Which tests should I automate? ✦ What are some best practices?
  2. @angelariggs_ TestBash SF | 2019 Why do we test? ✦

    Prevent defects ✦ Maintain quality ✦ Meet users’ needs ✦ Increase confidence ✦ Understand our product
  3. @angelariggs_ TestBash SF | 2019 Why do we automate? ✦

    Run tests faster ✦ Better coverage ✦ Increase reliability ✦ Reusable / repeatable ✦ More frequent testing
  4. @angelariggs_ TestBash SF | 2019 Automation is not the goal.

    The goal is to have tests that enhance your ability to achieve and maintain quality.
  5. @angelariggs_ TestBash SF | 2019 Use automation for low-risk items

    so you can focus on high-risk and high-priority functionality.
  6. @angelariggs_ TestBash SF | 2019 ✦ Catch regressions ✦ Sprint

    goals ✦ Prevent defects ✦ Team confidence ✦ Stakeholder confidence
  7. @angelariggs_ TestBash SF | 2019 There is no framework to

    rule them all. The right tool is the one that you’ll actually use.
  8. @angelariggs_ TestBash SF | 2019 The goal of automation is

    reliable, anti-fragile tests that are simple to maintain, update, and hand off.
  9. @angelariggs_ TestBash SF | 2019 Create reservation ✦ Enter location

    ✦ Select dates ✦ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
  10. @angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location

    ✦ Select dates ✦ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
  11. @angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location

    ✅ Select dates ✦ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
  12. @angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location

    ✅ Select dates ✅ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
  13. @angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location

    ✅ Select dates ✅ Select unit ❌ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
  14. @angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location

    ✅ Select dates ✅ Select unit ❌ Book vacation Modify reservation ❌ Look up reservation ❌ Select Edit option ❌ Change dates ❌ Confirm new dates
  15. @angelariggs_ TestBash SF | 2019 The goal of automation isn’t

    having tests that pass. The goal of automation is having tests that accurately catch failures.
  16. @angelariggs_ TestBash SF | 2019 Planning for failure means writing

    your tests in a way that make those failures useful.
  17. @angelariggs_ TestBash SF | 2019 Understand the questions you should

    ask so you can find the answers that work for you
  18. @angelariggs_ TestBash SF | 2019 Understand how to research frameworks,

    so you can find the one that meets your needs
  19. @angelariggs_ TestBash SF | 2019 Lucy Wyman & Zach Reichert

    Test Automation University Are Our Tests Any Good? http://bit.ly/are-our-tests-good Online automation courses http://bit.ly/test-automation-uni