Book Image

Hands-On Microservices with Python [Video]

By : Peter Fisher
Book Image

Hands-On Microservices with Python [Video]

By: Peter Fisher

Overview of this book

This course covers microservice fundamentals and advanced topics with a hands-on demonstration of how to implement microservices using real-world examples. Learn how to design and build a microservice software architecture in Python. You will learn to make your applications more reliable and fault-tolerant using microservices with Python, no matter how complex the business logic. This course demonstrates how to design and build an application using a series of microservices. The application in question is an order management system, which we will split up into individual services. In a hands-on manner, you will learn topics such as data modeling, data storage, writing API requests, and you will learn to secure, monitor, and scale your microservices. Finally, you will learn to use Docker's containerization technology to isolate, manage, monitor, and deploy microservices in Docker containers. The github repos for this course are as follows: For the front end: https://github.com/PacktPublishing/Hands-on-Microservices-with-Python For the Order Micro service: https://github.com/PacktPublishing/Hands-on-Microservices-with-Python-Order-Service For the User Microservice: https://github.com/PacktPublishing/Hands-on-Microservices-with-Python-User-Service For the Product Microservice: https://github.com/PacktPublishing/Hands-on-Microservices-with-Python-Product-Service/
Table of Contents (6 chapters)
Chapter 5
Documenting,Testing and Deploying Microservices
Content Locked
Section 1
How to test a microservices in Python?
In this video, we discuss the importance of testing our microservices and how we create automated tests in Python. We examine these tests and mention how they can be improved. - Investigate what could be tested in a microservice - Create Python unit tests that check our API endpoints - Run the tests and discuss how they could be improved