Test Your Code! : An introduction to PHPUnit

By ·QA Engineer at Rent The Runway

No upcoming dates

Add to Watchlist

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

Prerequisites
Basic knowledge of PHP or comparable Object Oriented Programming language.
Taught by Dan Chan

QA Engineer at Rent The Runway

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...

100% Positive Reviews (5 Reviews)