Test Your Code: An introduction to PHPUnit

, QA Engineer at Rent The Runway

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.
  • Introduction to Unit Testing


    532 Broadway, Floor 7
    New York, NY

    There will be a short lecture explaining the benefits of unit testing, and then several hands-on examples to get you started with writing PHPUnit tests. My goal is to teach you how to integrate PHPUnit into your framework and adapt unit testing into your own development team's culture.

    Thu, August 16th, 2012

    7:00 pm - 8:00 pm EDT

    Add to Cal

Dan Chan

QA Engineer at Rent The Runway

I am currently a QA Engineer at Rent The Runway, where I helped build out the current test automation framework from scratch. I also am currently building out their continuous delivery framework, with all of the nuisances that go with it, including deployment practices, release strategies, configuration management, standardization of code, and of course, test automation. 

I was previously the Lead QA Engineer at Behance, where I helped build out their test automation framework from the ground up. 

I co-captain the Continuous Delivery NYC Meetup group at Etsy Labs, which discusses all of the technical aspects in getting started with continuous delivery. I've also provided freelance work for companies such as NBC Universal and iMentor. 

View Full Profile

100% Positive Reviews (5 Reviews)


    532 Broadway, Floor...

    New York, NY

    3 / 15 Students


    School of Behance

    • 2


    • 7


    • 17