Skip to Content
Cloud Native Python
book

Cloud Native Python

by Manish Sethi
July 2017
Intermediate to advanced
374 pages
8h
English
Packt Publishing
Content preview from Cloud Native Python

Testing the RESTful API

So far, we have been building the RESTful API and hitting the URL for the root URL to see the response and to understand whether the different methods are working properly in the backend or not. Since it's new code, everything should be tested 100% to make sure it works fine in the production environment. In this section, we will write the test cases, which should work individually, and also as a system, to make sure that the complete backend service is good to go for production.

There are different types of testing, which are defined as follows:

  • Functional testing: This is basically used to test the functionality of a component or a system. We do this test against the functional specification of a component.
  • Non-function ...
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 for DevOps

Python for DevOps

Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu
Cloud Native

Cloud Native

Boris Scholl, Trent Swanson, Peter Jausovec

Publisher Resources

ISBN: 9781787129313Supplemental Content