Upload
-
View
65
Download
1
Embed Size (px)
Citation preview
PHPЗдоровогочеловека
WhyPHPdoesn'tsuckanymore...
TESTABLEAPPLICATIONS:HARDWAY
STATICCODEANALYSIS
PHPCodeSnifferPHPMessDetectorPHPCopyPasterDetectorPHPDeadCodeDetector
PHPCODESNIFFER
CheckagainstmultipleStandardsUseownStandardsSupportedbyyourfavoritetext-editor/IDE
PHPMESSDETECTOR
PossiblebugsSuboptimalcodeOvercomplicatedexpressionsUnusedparameters,methods,properties
PHPCOPYPASTERDETECTOR&
PHPDEADCODEDETECTOR
PHPUNIT
GoldstandardAssertsTestingdoublesAnnotations
BEHAT,MINK&PHPSPECFAMILY
Feature:ContactingdeveloperInordertocontactsitedeveloperAsavisitorIneedtobeabletosubmitacontactform
Scenario:SuccessfullysubmitthecontactformGivenIamon"/contact"WhenIfillin"Yourname:"with"Ryan"AndIfillin"Message:"with"Hithere!!!"AndIselect"general_question"from"Questiontype:"AndIpress"Contact"ThenIshouldsee"Yourmessagehasbeensent!"
CODECEPTION