Talk in English - UK at PHPers Summit 2019
View Slides: https://speakerdeck.com/carusogabriel/getting-the-most-of-phpunit-assertions
Short URL: https://joind.in/talk/6ab70 (QR-Code (opens in new window))
Do you know, when you are writing a test, something isn't going right and you get a failure message "Failed asserting that false is true"? Let's see how we can improve our test's assertion in other to get more helpful errors by using dedicated PHPUnit assertions. We're going to see how we can make our suite of tests stricter, avoiding PHP's false-positives weakness. Also, we'll be seeing how PHPUnit works under the hood, from the assertion method to the verification itself.