The aim of this video is to present the Flask test client and how can it be used for application testing.
- [Voiceover] Hi, and welcome to the last section of…this video course, Testing Web APIs.…In the previous section, we covered how to store…passwords in our application, why to use HTTPS for…communication, and how to use tokens for authentication.…In this section, we are going to cover how testing can be…done in a Flask application using the Flask test client.…We were cover how to test custom Flask routes,…CRUD applications, and authentication.…Now we move on to the first video of this section,…which deals with the Flask test client.…
In this video, we're going to take a look at why…tests are important in software development,…what type of tests do we usually use,…and what is the Flask test client.…Then we are going to review our first test.…When creating tests for our application, we ensure…that our application gives us instant feedback…in case we change the application logic.…Tests are good for proving that the application…we developed applies the correct logic.…There are different type of tests.…Unit tests are short, fast running, focus on…
Regardless of platform, you will need to build APIs to serve data between different client applications and endpoints. Good APIs are a necessity for web and mobile projects, especially with the modern, mobile-first approach to development. This course delivers the fundamental knowledge required to enable highly connected interactions between applications via RESTful web APIs. Follow along with Gergo Bogdan and learn how to build up and structure an effective web API that can be used by any client application accessing it over HTTP, using Flask, the Python microframework.
Find out how to implement CRUD operations using SQLAlchemy and MySQL as the data store. Get an understanding of how REST works relative to APIs, and learn how to test APIs written in Python with the support of Flask. Explore token-based authentication and find out how to store passwords securely in your database. Along the way, Gergo introduces best practices and design guidelines when building large applications.
- Setting up Flask
- Using Flask templates and routing
- Implementing CRUD operations
- Implementing pagination
- Configuring RESTful authentication
- HTTP caching
- Securing web APIs
- Testing the application