Talk in English - US at WavePHP 2018
Track Name:
La Jolla Room
View Slides: https://www.slideshare.net/ENDelt260/unlock-the-mystery-of-phpunit-wave-php-2018
Checkout the code: https://github.com/TheOtherBrianJ/wavephp_phpunit
Short URL: https://joind.in/talk/2b86d
(QR-Code (opens in new window))
This talk provides an introduction to PHPUnit suitable for someone with no PHPUnit experience, and little to no unit testing experience. It uses a test-driven development example to demonstrate writing test cases, simple assertions and constraints, mocking, data providers, and testing exceptions and PHP errors. Also covered is installation of PHPUnit via Composer, built-in code coverage capability, and a brief discussion of command line options and configuration. At the conclusion of this presentation, the audience is capable of starting a Composer-managed project from scratch, and implementing meaningful, test-driven development.
Comments
Comments are closed.