It's always good to have tests, in fact you should have the them. In this video we're going to look at how you can setup your Django project with Pytests to write clean and elegant tests.
🧑 Book a Learning Session - https://calendly.com/rithmic-studio/learning-session
Discord - https://discord.gg/TwUV34F6wC
Timestamps ⏳
00:00 - Introduction
02:20 - Pytest Installations
03:28 - pytest setup
06:42 - User API Tests
18:24 - Fixtures / Conftest
28:50 - CRUD Endpoint Tests
The finished code can be found here:
- https://github.com/sixfwa/drf-api
#Django #REST #API