Officially filament php use pest for testing purpose. All the example of it's documentation is depends on PEST which might be bit challenging for developers (like me) those are not used to pest. In this post, I will show you how can you write tests for a resources via phpunit.
Handling email bounce and spam rate lower is really hard when you manage email newsletter or sign-up for a laravel application. Recently I faced such a challenge to reduce the bounce and spam rate lower. Believe me, it was not easy! I spend some time to do research and found a work around. Today I will show you how I tackled this. This is a findings for my workaround.
Today I will show you how to test laravel job, email and email content. This must be a fun to confirm the behavior.
If you are suddenly facing the issue on Laravel testing that, **PHP Fatal error Declaration of Tests\TestCase::setUp() must be compatible with Illuminate\Foundation\Testing\TestCase::setUp():....** in that case, this post might be helpful for you.
Writing your first PHP Unit Test | Learning PHPUnit - Part 2
Learning PHPUnit | Part 1
Laravel Testing Laravel Testing Starting with Laravel feature Testing