Book Image

Testing Practitioner Handbook

By : Renu Rajani
Book Image

Testing Practitioner Handbook

By: Renu Rajani

Overview of this book

The book is based on the author`s experience in leading and transforming large test engagements and architecting solutions for customer testing requirements/bids/problem areas. It targets the testing practitioner population and provides them with a single go-to place to find perspectives, practices, trends, tools, and solutions to test applications as they face the evolving digital world. This book is divided into five parts where each part explores different aspects of testing in the real world. The first module explains the various testing engagement models. You will then learn how to efficiently test code in different life cycles. The book discusses the different aspects of Quality Analysis consideration while testing social media, mobile, analytics, and the Cloud. In the last module, you will learn about futuristic technologies to test software. By the end of the book, you will understand the latest business and IT trends in digital transformation and learn the best practices to adopt for business assurance.
Table of Contents (56 chapters)
Testing Practitioner Handbook
Credits
About the Author
Acknowledgement
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

Testing in agile/DevOps life cycle using Microservices Architecture


To get the most value from unit tests, Microservices tests need to be executed frequently—every build should run the tests. A failed test implies failure of build. Microservices testing should be configured in a continuous integration server (for example, Jenkins, TeamCity, Bamboo) so that these services are constantly monitored for changes in the code.

A testing approach in agile/DevOps life cycle using microservices architecture to provide optimal coverage methodology is highlighted in the following points:

  • Unit Testing: This will cover basic tests for the API and within each service. Code that uses other services should mock and stub them out.

  • Integrated Testing: This is to test services from one application to another. Before starting service integration test, test versions of the services that will use the given requests should be created.

  • Performance: A test system that reflects the production system should be created...