Tag Archives: Unit Testing

Unit Testing for WordPress

I am in Pune attending WordCamp Pune 2015. It’s been very exciting so far and finally I had chance to meet lot of people in person whom I am have been in contact online for more than half a decade.

My talk about Unit testing in WordPress

I have recently added Unit testing as part of my development workflow and it has helped me a lot as a developer and has even changed the way I think about code. It also has helped me a couple of times to catch bugs early that had the potential to spoil my weekend if it went to production 🙂

I gave a talk about how you can also use Unit testing to get peaceful weekends.

At the beginning of the talk I talked about the basic concepts in Unit testing and you can do it for plain PHP code. After that I moved on to show how the same concepts can be applied for WordPress code using frameworks like wp_mocks.

Continue reading »

Posted in Events/Conferences, WordPress | Tagged , , | 1 Comment

PHP Unit testing at Drupal Camp 2015

I just gave a talk today about Unit testing PHP code using PHPUnit in Drupal Camp 2015.

I have recently added Unit testing as part of my development workflow and it has helped me a lot as a developer and has even changed the way I think about code.

In this talk I talked about how to get started doing Unit testing in PHP and about some of the tips that I learned as I started doing Unit testing.

Continue reading »

Posted in Events/Conferences | Tagged , , | 4 Comments

Unit Testing PHP using PHPUnit

I spoke about doing Unit testing in PHP using PHPUnit at the Bangalore Open source meetup today.

Continue reading »

Posted in Events/Conferences, Web Programming | Tagged , , , | Leave a comment