14. Testing
Overview
This chapter introduces you to the concept of testing Django web applications. You will learn about the importance of testing in software development and, more importantly, in building web applications. You will write unit tests for your Django application's components, such as views, models, and endpoints. Completing this chapter will equip you with the skills to write test cases for Django web applications. That way, you can ensure that your application code works the way you expect.
Introduction
In the preceding chapters, we have focused upon building our web application in Django by writing different components such as database models, views, and templates. We did all that to provide our users with an interactive ...
Get Web Development with Django now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.