Skip to Content
Python Microservices Development
book

Python Microservices Development

by Tarek Ziadé
July 2017
Beginner to intermediate
340 pages
7h 43m
English
Packt Publishing
Content preview from Python Microservices Development

Different kinds of tests

There are many different kinds of tests, and it can be confusing sometimes to know what we're talking about. For instance, when people refer to functional tests, they may refer to different kinds of tests depending on the project's nature.

In the microservice land, we can classify tests into these five distinct goals:

  • Unit tests: Make sure a class or a function works as expected in isolation
  • Functional tests: Verify that the microservice does what it says from the consumer's point of view, and behaves correctly even on bad requests
  • Integration tests: Verify how a microservice integrates with all its network dependencies
  • Load tests: Measure the microservice performances
  • End-to-end tests: Verify that the whole system ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Microservices Development - Second Edition

Python Microservices Development - Second Edition

Simon Fraser, Tarek Ziadé
Python Web Development with Sanic

Python Web Development with Sanic

Stephen Sadowski, Adam Hopkins

Publisher Resources

ISBN: 9781785881114Supplemental Content