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

preview_player
Показать описание
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
Рекомендации по теме
welcome to shbcf.ru