Web Development with Django
by Ben Shaw, Saurabh Badhwar, Andrew Bird, Bharath Chandra K S, Chris Guest, Bidhan Mondal
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 ...
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.
Read now
Unlock full access