У нас вы можете посмотреть бесплатно Prisma Mutations & API Testing | TDD with Vitest & NodeJS | Test Driven Development last episode или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this final video of the TDD series, we’re diving into handling mutations in NodeJS using Prisma, Vitest, and Express. We’ll implement Create and Update operations while sticking to the TDD methodology—writing tests first, then implementing and refactoring. 🔹 What You’ll Learn: ✅ Setting up router files for better project structure ✅ Writing POST tests for creating a new user with TDD ✅ Implementing the API logic to pass tests ✅ Handling errors with proper status codes ✅ Debugging and fixing bugs to achieve passing tests ✅ Using Vitest and Supertest for API testing ✅ Refactoring code to improve structure and reliability 📌 Chapters: 00:00 ➤ Intro 00:50 ➤ Refactoring 01:52 ➤ Create and use router file for /user 05:11 ➤ Refactoring done 05:22 ➤ Mutations (Create or Update) 06:00 ➤ Writing test for post method /user API 08:51 ➤ Red bar strategy (implementing state) 10:00 ➤ Test: Should make a new user 13:11 ➤ Creating user implementation 15:32 ➤ Debugging error (skip if you wish) 19:37 ➤ Bug Fix 20:44 ➤ Making the test pass 22:13 ➤ Outro 📌 Sidenote: Note that I could cut some of the refactoring process out of the video. However, my goal here is to educate, not just create content. If you’re only interested in specific parts, feel free to jump to any chapter that addresses your issue. 🔔 Subscribe & Hit the Bell to stay updated with more testing videos and practical tutorials! 💬 Drop your questions & feedback in the comments below! #TDD #Vitest #Prisma #NodeJS #Express #Testing #TypeScript #API