Nov 8, 2022
0
Level 1
Seperate Test Suites & Seeders in Laravel/PhpUnit
Hi,
Is it possible to run a set collection of test suites & seeders within Laravel? For example, i have one codebase for a project which is home to different clients. Each of these clients have different requirements, so the tests are going to differ, along with the seeder.
How can I package these tests so that I can can run one set without running them all? I understand we can create test suites within phpunit, but all my seeders will run which will create excess load on a server when I only want to test a specific set.
Thanks.
Please or to participate in this conversation.