Write Simpler, More Maintainable DataProviders With PHPUnit 10's TestWith Attribute
If you love using data providers in PHPUnit, but find defining them verbose (and potentially buggy) then you’ll love the attribute-based approach in PHPUnit 10. Learn the essentials in this short post.