Talk in English - US at SunshinePHP 2019
View Slides: https://github.com/TheOtherBrianJ/sunphp_phpunit/blob/master/doc/sunshinephp_phpunit.key
Checkout the code: https://github.com/TheOtherBrianJ/sunphp_phpunit
Short URL: https://joind.in/talk/56b3d (QR-Code (opens in new window))
You know you're supposed to write unit tests, but you're not quite sure where to start. This session is for you. We will start from ground zero and go from zero unit test writing experience to functional test-driven developed code.
Using the current version of PHPUnit we will cover:
* writing basic test cases
* simple assertions and constraints
* mocking and data providers
* testing exceptions and errors
* and more!
You will leave this session fully ready to write tests for your own code.