PHP Testing - 4 Tester mindset testing and debugging - phpunit - php test tutorial

Published: 13 July 2022
on channel: codeForMe
144
2

PHP TESTING WITH PHP UNIT TEST
Unit Testing is about finding issues with code at a early stage. therefor you must not be afraid of breaking your code.

This is a part of a series of 4 videos that will walk through how to effectively write unit tests and learn how to unit test your code using the PHP phpunit library.

Chapters:

0:00 Tester mindset
0:18 Searching for Issues with UNIT TEST
0:33 Found an Issue
1:02 Found a code crime
1:06 Explaining why is this a code crime
1:24 Planning to solve the method issues
1:30 Writing a validateDate method
2:05 UNIT TESTING the validateDate method
3:32 Found an Issue with the validateDate while UNIT TESTING
3:42 Inspecting the Issue and debugging the testValidateDate UNIT TEST
3:53 Fixing the validateDate method
4:05 UNIT TEST validateDate passed
4:10 Adjusting the formateDate method to handle edge cases
4:53 Passing the tests


On this page of the site you can watch the video online PHP Testing - 4 Tester mindset testing and debugging - phpunit - php test tutorial with a duration of hours minute second in good quality, which was uploaded by the user codeForMe 13 July 2022, share the link with friends and acquaintances, this video has already been watched 144 times on youtube and it was liked by 2 viewers. Enjoy your viewing!