Jump to ratings and reviews
Rate this book

Design Patterns for High-Quality Automated Tests: Clean Code for Bulletproof Tests

Rate this book

About This Book
Achieving high-quality test automation that brings value - you need to understand core programming concepts such as SOLID and the usage of design patterns. After you master them, the usual career transition is into more architecture roles, such as choosing the best possible approaches for solving particular test automation challenges. You will get access to more than 20000+ lines of real-world code examples and video explanations to solidify your knowledge.

Who This Book Is For
The book is NOT a getting started guide! If you don't have any prior programming experience writing automated tests through WebDriver, I suggest you first start with some books about basic programming and basic WebDriver usage. I believe it might be invaluable for the readers who have a couple of years of experience and whose job is to create/maintain test automation frameworks or write high-quality, reliable automated tests.
The book is written in Java. However, I think that you can use the approaches and practices in every OOP language. If you have a Java background (or similar), you will get everything you need, don't worry.
Even if you don't get all the concepts from the first read, try to use and incorporate some of them. Later you can return and reread them. I believe with the accumulation of experience using high-quality practices- you will become a hard-core test automation ninja!

What You Will Learn

Learn how to optimize and stabilize your flaky tests. Learn how to handle asynchronous web pages in your tests. Automatically deal with AJAX and jQuery.
Improve Test Readability, Maintainability, Reusability, Extensibility by incorporating 10+ design patterns: Page Object Model, Facade, Decorator, Observer, Strategy, Singleton, Fluent Interface, Template Method, Abstract Factory, Factory Method, Repository, Lazy Load. Learn what the SOLID principles are and how they can improve your test code. We will also discuss other essential programming principles such as composition, DRY, KISS, and others. Learn how to assess and choose the best possible design for your framework or library. Learn how benchmarking your code can help you to speed up your tests. Learn how to design and build your framework to handle test data and different test environments. Learn about high-quality code practices and naming convention so that your code gets much more understandable.

348 pages, Kindle Edition

First published March 15, 2021

40 people are currently reading
41 people want to read

About the author

Anton Angelov

11 books4 followers
CTO and Co-founder of Automate The Planet Ltd, inventor of BELLATRIX Test Automation Framework, author of "Design Patterns for High-Quality Automated Tests: High-Quality Test Attributes and Best Practices" in C# and Java. Nowadays, he directs a team of passionate engineers helping companies succeed with their test automation. Additionally, he consults companies, leads automated testing training series in C# and Java, writes books, and gives conference talks. You can find him on LinkedIn every day.
– 280+ Published Articles Automate The Planet
– 120+ Published Articles Code Project
– 60+ Published Articles DZone as Most Valuable Blogger
– 6+ Articles Published in Quality Magazines
– 20+ Given International Conferences Talks
– 3 books published
– 5,000,000+ article views
– 1000 000+ amazing readers for 2020
– Read in 180+ countries

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
6 (66%)
4 stars
2 (22%)
3 stars
1 (11%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 3 of 3 reviews
Profile Image for Staton Angelo.
1 review
March 25, 2021
The book is oriented to people who want to go deeper into automation testing and start thinking and acting more as a Software Engineer in Testing, but not as a regular tester who is just producing big amounts of tests via code duplication and without any optimization.
1 review
March 25, 2021
Maybe the best you can find on the market about Test Automation with Java. Has a lot of concepts and design patterns covered, as well as very good explanations about why certain pattern should be used.
2 reviews
March 25, 2021
Clear, very well structured and useful book. A must read for everyone interested in Quality Automation. Every design pattern is explained thoroughly, and there are even pros and cons and explanation how to use. If you read it, you will get a mountain of knowledge.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.