Book Image

How to Test a Time Machine

By : Noemí Ferrera
Book Image

How to Test a Time Machine

By: Noemí Ferrera

Overview of this book

From simple websites to complex applications, delivering quality is crucial for achieving customer satisfaction. How to Test a Time Machine provides step-by-step explanations of essential concepts and practical examples to show you how you can leverage your company's test architecture from different points in the development life cycle. You'll begin by determining the most effective system for measuring and improving the delivery of quality applications for your company, and then learn about the test pyramid as you explore it in an innovative way. You'll also cover other testing topics, including cloud, AI, and VR for testing. Complete with techniques, patterns, tools, and exercises, this book will help you enhance your understanding of the testing process. Regardless of your current role within development, you can use this book as a guide to learn all about test architecture and automation and become an expert and advocate for quality assurance. By the end of this book, you'll be able to deliver high-quality applications by implementing the best practices and testing methodologies included in the book.
Table of Contents (19 chapters)
Part 1 Getting Started – Understanding Where You Are and Where You Want to Go
Part 2 Changing the Status – Tips for Better Quality
Part 3 Going to the Next Level – New Technologies and Inspiring Stories
Appendix – Self-Assessment

What is inside the top of the pyramid?

The top level of the test pyramid consists of those tests that are closest to the user – that is, the tests that are performed in an application (generally) before it is launched to the user. In the 2D models of the test pyramid, this section is generally for end-to-end (frontend automation) and manual testing.

For many years, the top framework for frontend automation was Selenium (with other frameworks based on it), with Appium for mobile apps. Recently, there has been a tendency of looking for faster end-to-end testing, with increasing numbers of headless tests and visual tests to the detriment of pure DOM automation tests. Whichever framework you decide on, you must dedicate the appropriate time to each layer and test so that you do not run into test repetition across the pyramid.

End-to-end tests/user interface tests/frontend automation

The end-to-end testing that is considered at this level of the test pyramid is generally...