4. Django REST Framework - Testing with Pytest + Fixtures

Published: 01 February 2022
on channel: rithmic
15,090
298

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.

👨‍💻 Looking for a web developer job, visit: https://www.webdevjobs.io/

👽 Discord -   / discord  

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