TDD (Test Driven Development) in Laravel using phpunit for REST Api Development

Опубликовано: 06 Октябрь 2024
на канале: CS Code
6,869
97

You can find the entire code here: https://github.com/csinghdev/laravel-...

In this video I will setup the environment for running test-cases using phpunit and then I will be creating an api using TDD approach to allow user to edit his profile.

You will learn following:
1. Setting up phpunit.
2. Writing your first Test Case.
3. Creating an api following TDD approach.
4. Using faker in test case.

You can integrate JWT in your application by watching this video:    • Laravel 7 - JWT Authentication for La...  

If you want to make your response consistent across application like i have in the video then you can watch the video here:    • Laravel 7 - Consistent Response In RE...  

You can follow me on twitter at   / chandreshhere  

Music: https://www.bensound.com

#tdd #phpunit #api #laravel