Testing is a crucial skill for every developer. When building applications it might initially feel like some wasted time, but I can say from experience that it gives so much peace of mind later on. In this article I'll show you how to
Most people and frameworks still use PHPUnit, which is an awesome testing framework. Currently we're also seeing a more broader shift to using Pest. Pest provides a nicer and more fluent way of testing, so it's certainly a good option. In this article I'll show you the basics of Pest, so that you can get started with it quickly.
Learning Pest is not difficult. The syntax is a little bit different from PHPUnit, but how you test is mostly the same.