Level 80
@alexanderwright Yeah, I’m a fan of data providers in PHPUnit tests. They’re good for testing a lot of different cases, i.e. a checking a formatter behaves as expected when given different values and values of different types.
Summer Sale! All accounts are 50% off this week.
Need to test a function with several sets of data?
Use a Dataset!
Enjoy easy to read more compact tests, with informative error messages!
Please or to participate in this conversation.