After years of promoting PHPUnit I still hear it's hard to get started with unit testing. So instead of showing nice step-by-step examples on how to use PHPUnit, we're going to take examples straight from github and start writing tests for them where I explain the issue, how we test it and how we finally got things tested. So I take on the challenge to start writing tests for PHP projects that already have unit tests in place (like major frameworks) and projects that not even started with unit testing.

Comments

Comments are closed.

Rated 4

Anonymous at 14:44 on 25 Apr 2014

Talk moved a little slowly. Good information was provided but I felt like there could have been more examples covered.

Rated 2

Anonymous at 14:46 on 25 Apr 2014

I thought the code coverage examples were good -- showing how as more code is tested, the coverage reflects it, and how some code can be removed that is never reached.

I think if I were just getting started with unit testing, this talk would be one I could refer back to for help. I also think it would be good to add a few more examples.

This is an important and useful topic, and I could tell that the attendees found value in the presentation. The pacing was a little off: too slow in some parts, too fast in others. I liked the jokes you included, which were definitely refreshing and helped pull people back in, but I also would have liked to see more animation/excitement from you throughout the presentation to better keep people following along.

Enjoyed this talk, showing us that you can start unit testing even with code you are unfamiliar with is something I have alway thought was missing.

I was intrigued with the idea of writing tests for unfamiliar code. He showed that writing tests should not be feared as much as it is. I agree with the other comments on having more examples.