Laravel Test Driven API - test for validation

preview_player
Показать описание
API using testing in Laravel.
We will work on mocking an external API in our own API for laravel
All the APIs will be tested on code as well as on Postman

Github Source Code:

Thanks to APIArtisan team for their support on this course
You can instantly create APIs using your SQL database schema

I hope this course will help you understand how to create API in laravel and also writing test cases for laravel API

Hope you enjoy and may this video add value to your life.

Github Repository for the Progress:

Discord server

🌟 Premium Courses 🌟
Check out 32 hours of Laravel Content at

🔥 DIGITAL OCEAN HOSTING Affiliate

🌟 Gadgets I use 🌟

🌟 Support Me ( I am full-time YouTube) 🌟

🌟 FOLLOW ME 🌟
Subscribe for New Releases!

(ask me questions!)

--- QUESTIONS? ---

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Thanks for all your support
Рекомендации по теме
Комментарии
Автор

Sarthak is making a mistake here, and not for the first time. At 2:25 he is refactoring the code that is not driven by the test. He first need to find that the validation is needed, and then refactor. Integrity constraint violation is not the right error, and it doesn't saying that the validation is needed. After refactoring the code he is jumping into the test again, while being in the red state. After the red state, he need to end in green, before continue with testing. The test needs to guide us from red to green, not the other way around. Hopefully, Sarthak will be a little bit more cautious in the future. Cheers! ;)

stefan
Автор

Sir, is this course enough to learn API and Laravel testing for getting job?

awaisaslam
welcome to shbcf.ru