Testing in Laravel 11 For Beginners

  • 24 lessons
  • 17484 words

This content is available only for premium members.

About this course

If you want to get a serious developer job, you are usually required to write automated tests.

So if you haven't started yet, this course is for you: I will give you practical examples, and explain the theory along the way.

We will talk about:

  • How to setup and run tests in Laravel
  • How to use Pest or PHPUnit for testing (code examples of BOTH are provided)
  • Difference between Feature and Unit tests
  • How to test authentication/authorization
  • How to use Factories to fake data
  • How to test APIs and JSON
  • TDD approach, including my own opinion about it
  • ... and more.

So, let's dive into the course?