This video take a different approach to refactoring tests. In Episode 046 ([ Ссылка ]) we delete tests that duplicate the coverage of the same behaviour. Sometimes you need to keep those test but still want to keep your test files tidy.
For this episode we look at how we can use PHPUnit Data Providers in PHP to tidy up the tests. Instead of deleting the test that cover the same behaviour we group them in to a test that uses Data Providers.
The code produced during this episode can be found on GitHub:
[ Ссылка ]
You can follow me on twitter: [ Ссылка ]
** Please Rate, Review, Subscribe and Share these videos **
![](https://i.ytimg.com/vi/LOxY7PV6JVU/maxresdefault.jpg)