#10 – API Tests | Convert Laravel Web Project to API (In Arabic)
Автор: Abdulrhman Goda
Загружено: 2025-07-24
Просмотров: 47
Описание:
Want bulletproof API endpoints? Learn how to test your Laravel API like a pro using built-in testing tools - covering everything from happy paths to edge cases, authentication failures, and validation errors with real test examples.
🧪 What You'll Test
✅ Complete Test Coverage - Success & failure scenarios
✅ Authentication Flow - Secure login/logout testing
✅ Authorization Checks - Verify role-based access
✅ Validation Errors - Test bad request handling
✅ Database State - Ensure proper data changes
⏱️ Timestamps
00:00 - Introduction: Why testing matters in APIs
00:30 - Folder structure for tests
01:30 - Key considerations when testing APIs
02:00 - Reviewing actual test cases (success, failure, auth, etc.)
06:40 - Running tests and checking output
📚 API Documentation
👉 https://documenter.getpostman.com/vie...
📁 Get the Code on GitHub
👉 https://github.com/Abdogoda/WEB2API/t...
🚀 Coming Next
In Episode 11 (Finale), we'll:
✔ Document the complete API in Postman
✔ Create shareable collections
✔ Generate professional documentation
🔔 Subscribe for more Laravel pro techniques!
#LaravelTesting #APITesting #PHPUnit #LaravelAPI #TestDrivenDevelopment #Laravel11 #WebToAPI #BackendTesting #PHPProgramming #QualityAssurance
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: