Presented on February 26 2020 at the Confoo conference, Montreal, Canada.
https://confoo.ca/en/yul2020/session/my-top-10-phpunit-tips-tricks
---------------------------------------------------------------
Of course you test your code... you may even use test driven development.
But are your tests actually testing your code ? Or are they just there to satisfy the CI process ?
In this talk Juliette will focus on the tips and tricks she learned over the years.
Learn how to improve your test setup, what assertions to use when, why data providers are incredibly useful and how to make your tests more descriptive and easier to debug.
---------------------------------------------------------------
Links:
Code used in the presentation:
https://github.com/jrfnl/top-10-phpunit-tips-tricks-demo
PHPUnit Docs:
https://phpunit.readthedocs.io/