Book Image

Software Testing Strategies

By : Matthew Heusser, Michael Larsen
Book Image

Software Testing Strategies

By: Matthew Heusser, Michael Larsen

Overview of this book

Software Testing Strategies covers a wide range of topics in the field of software testing, providing practical insights and strategies for professionals at every level. With equal emphasis on theoretical knowledge and practical application, this book is a valuable resource for programmers, testers, and anyone involved in software development. The first part delves into the fundamentals of software testing, teaching you about test design, tooling, and automation. The chapters help you get to grips with specialized testing areas, including security, internationalization, accessibility, and performance. The second part focuses on the integration of testing into the broader software delivery process, exploring different delivery models and puzzle pieces contributing to effective testing. You’ll discover how to craft your own test strategies and learn about lean approaches to software testing for optimizing processes. The final part goes beyond technicalities, addressing the broader context of testing. The chapters cover case studies, experience reports, and testing responsibilities, and discuss the philosophy and ethics of software testing. By the end of this book, you’ll be equipped to elevate your testing game and ensure software quality, and have an indispensable guide to the ever-evolving landscape of software quality assurance.
Table of Contents (22 chapters)
1
Part 1:The Practice of Software Testing
9
Part 2:Testing and Software Delivery
14
Part 3:Practicing Politics

GUI test automation patterns

This section will discuss classic unattended test execution, evaluation, and reporting. A human, watching what testers do, might imagine the process as the tool walking through the user journey. Log in, search for a specific product, find it, add it to your cart, check out, and add a fake credit card in a test system. After that, check your emails to see if the order was sent and check the backend systems to make sure the card would be charged and the order would be delivered to the warehouse. This end-to-end test has at least eight major components:

  1. A login page
  2. A homepage
  3. A search function
  4. Product display
  5. An add-to-cart function
  6. Cart view
  7. A checkout process
  8. Backend inspection

If anything goes wrong, the software will stop. If it fails to log in, the software might work up until checkout, at which point it will render an error. If the search function encounters an error, the software will try to click the product...