Tutorial Day: Test your code like a pro – PHPUnit in practice
The day you realised that you can’t really tell what your code does is the day you stop being an amateur programmer and you turn into a professional developer. During this workshop you will learn about the most famous unit testing framework – PHPUnit, how it can help you gain confidence in your code and what to do (and what to avoid) to make your code testable. We will discuss unit testing best practices and talk about tools that can help you automate the whole process, so it becomes more of a habit then a necessity.
Questions & Answers
Who’s the target audience for this tutorial?
If you have no experience or only a little experience with unit testing PHP code then this tutorial is for you.
How experienced do I need to be?
Well, you need to have some experience in PHP development and know OOP (Object-Oriented Programming) principles.
Which version of software / php etc will you be covering?
We will be using the latest version of PHPUnit that will be there at the time. PHPUnit requires at least PHP 5.2.7, but we will be using PHP 5.3.
Do I need to bring a laptop?
Yes. This is a hands on session.
Do I need to install or set-up any specific software prior to the day, in order to get the most out of the day?
Yes. Please read: http://criticallog.thornet.net/2012/09/19/test-your-code-like-a-pro-%E2%80%93-phpunit-in-practice-preparation-guide/.
What else will I get?
Refreshments and lunch, a personalised attendance certificate and a conference T-shirt!
Sebastian Marek
I have over 12 years of experience in software engineering. I am a Software Architect at Plusnet a Sheffield-based ISP, now part of the BT Group. During my 6+ years journey with Plusnet, I have helped set up the continuous integration environment as part of a long-term drive towards Test-Driven Development and I am currently supporting engineering department by maintaing and implementing long term technical roadmap and automating internal development processes. In my free time I occasionally contribute to opensource software like PHPUnit, phpUnderControl, Behat and Sonar.