Before The Code: First Steps to Automation in Testing
Before The Code: First Steps to Automation in Testing
About the Book
One of the hottest topics today in software testing is automation. Why is that? Because of multiple reasons ranging from using a tool to perform the mundane tasks to improving a team's ability to produce reliable and stable software quickly. But the common mistake testers and companies make is jumping in blindly by just grabbing a tool and scripting everything as fast as they can. This just leads to flaky tests, hard to maintain automation code, and failure. They make the mistake of putting the cart before the horse.
This book focuses on the front-end processes — the work involved in implementing and maintaining test automation and emphasizing a tool agnostic mindset. The information is based on multiple years of work experience using many different tools with a wide range of application & development technologies. This information comes from my experiences in the Software Testing Trenches.
Table of Contents
Table of Contents About the Author 7 Acknowledgments 8 Introduction 9
Chapter 1 – Starting Off 11 Where to Start 11 Initiation of Implementation 12 Summary 18 References 18
Chapter 2 - Automagic 19 Automation Myths & Misconceptions 19 Summary 22 References 23
Chapter 3 – Test Automation Pyramid 25 Demystifying the Test Automation Pyramid 25 Dealing with Management 30 The Reality of the Current Situation 31 Summary 32 References 32
Chapter 4 – Educating Management 33 Educating and Convincing Management 33 The End Game 36 Summary 39 References 41
Chapter 5 – The Automation Team 43 Recruiting an External Person 43 Recruiting a Contractor or Consultant 49 Finding an Internal Resource 49 Technical vs. Non-Technical Tester 50 Summary 52 References 52
Chapter 6 - Training 53 Training Staff 53 Learning Automation 56 Summary 57 References 58
Chapter 7 – Basic Automation Development 59 Automation Development 59 Summary 63 References 64
Chapter 8 – Selection of Tests 65 Selecting Tests for Automation 65 Appropriateness of Tests 65 Readiness of Tests 65 Grouping Tests into Suites 66 Prioritizing Tests 68 Combined Methods 69 Summary 74 References 74
Chapter 9 – Automation Testability 75 Testability 75 Methodologies 76 Common Issues - GUI Level 77 Testability Attributes - GUI Level 79 Common Issues - API/Services Level 80 Testability Attributes - API/Services Level 80 Common Issues - Code/Unit Test Level 81 Testability Attributes - Code/Unit Test Level 81 Testability Standards - General 82 Testability Aids 83 Other Factors to Consider Regarding Testability 83 Benefits 84 Summary 84 References 85
Chapter 10 – Proof of Concept 87 Proof of Concept & Tool Evaluation 87 Presenting the Findings 92 Making the Final Decision 93 Summary 94 References 94
Chapter 11 – Framework Concepts 95 Frameworks 95 Selection of a Framework 101 Construction of Framework 102 Summary 103 References 104
Chapter 12 – Automation Framework Design 105 Basic Framework Design 105 Pieces of the Puzzle 106 Summary 112 References 112
Chapter 13 – Where to Run the Tests 113 Automation Test Lab 113 Summary 118 References 118
Chapter 14 – Self Learning 119 Getting Yourself Ready for Automation 119 Software Testing 119 Software Development Life Cycle (SDLC) 121 General Programming Techniques 125 Programming Principles (Not Patterns) 126 Automation Programming Techniques 127 Algorithms to Understand for Automation 129 Automation Tools 130 Practice Automation 131 Summary 132 References 133
Chapter 15 – Craft of Automation in Testing 135 Craftsmanship for Automation in Testing 135 What is Craftsmanship? 135 Automation in Testing Craftsmanship 137 Putting It All Together 139 Summary 140 References 140
Authors have earned$10,270,421writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Top Books
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
Continuous Delivery Pipelines
Dave FarleyThis practical handbook provides a step-by-step guide for you to get the best continuous delivery pipeline for your software.
500 QUIZ MMG COMMENTATI
ALS Medicina Generale500 Quiz degli ULTIMI Concorsi di Medicina Generale (2014/2016/2017/2018/2019)
Riassunti e suddivisi per area con Griglia risposte vuota e Griglia risposte esatte Ministeriale
Commentati con link alla fonte per approfondimento e ausilio allo studio
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Discrete Mathematics for Computer Science
Alexander Shen, Alexander S. Kulikov, Vladimir Podolskii, and Aleksandr GolovnevThis book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.
Introducing EventStorming
Alberto BrandoliniThe deepest tutorial and explanation about EventStorming, straight from the inventor.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
Visualise, document and explore your software architecture
Simon BrownA short guide to visualising, documenting and exploring your software architecture.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
Software Architecture and Design Practice Reference
2 Books
Dive deeper in Software Architecture with the Design Practice Reference. Learn all about software architecture and design from the books in this bundle:Software Architecture covers topics from quality attributes to designing and modeling components, interfaces, connectors, and containers, all the way to services and microservices. The Design... - #3
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #7
The Python Craftsman
3 Books
The Python Craftsman series comprises The Python Apprentice, The Python Journeyman, and The Python Master. The first book is primarily suitable for for programmers with some experience of programming in another language. If you don't have any experience with programming this book may be a bit daunting. You'll be learning not just a programming... - #8
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #9
Mastering Containers
2 Books
Docker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!