As any development team's code base grows, there is a need for quality assurance to keep as many bugs possible out of the development cycle.The relative cost of bugs being discovered in production is always much greater than the cost of them being found in development.
Manual testing is repetitive, strenuous, and painful. The outdated way of testing code would be to manually test features at each step of development. The improved method involves automation and programatically testing your code automatically after each commit. As the old saying goes, "If it hurts, do it more frequently and bring the pain forward."
PHPUnit is a testing framework that allows you to write automated unit tests. Using PHPUnit will help you catch problems sooner and avoid deploying bugs into production. My class aims to teach how to write proper unit tests using PHPUnit. By the end of the class, you should be able to write efficient tests that follow standard testing patterns and integrate unit testing into your own development process.
Tags : unit testing, PHPUnit, PHP, programming, framework, agile, qa, quality assurance
Basic knowledge of PHP or comparable Object Oriented Programming language.
Since joining Behance in 2011, I have been operating as the company's lead QA engineer, where I have been integrating technologies such as PHPUnit, Selenium, and Jenkins into our development practices. In the short time that I've been around Behance, I have built a testing framework that covers over six applications, started a continuous integration server to run against our multiple code repositories, and introduced browser integration tests to our development team.
I am also a regular contributor to Behance's own development blog:
Thu, Aug 16th, 2012
7:00 pm – 8:00 pm EDT