Castuner
English
English Català Español Euskara Galego Português Français Italiano Deutsch Polski Русский Svenska
Web Dev with Matt

Writing Simpler, more maintainable DataProviders with PHPUnit's TestWith attribute

Oct 10, 2024 8:44

Audio file

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. In this episode, I'm stepping through what they are and why they're a great thing.

Links from the episode

PHPUnit's DataProvider Annotation

PHPUnit's TestWith Attribute

PHP 8 Attributes

The post which this episode was based on: Write…

88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108

Every podcast with a public feed, played straight from the people who make it.

Browse

All podcasts Submit a podcast

Castuner

About CastunerPrivacyTerms

Language

English Català Español Euskara Galego Português Français Italiano Deutsch Polski Русский Svenska

© 2026 All Tuner Labs · Made with ❤️ in Poblenou, Barcelona

0:00 0:00