Luka Muzinic

Passionate about being a developer, teacher and mentor for newcomers into world of programming. Works for Code4Hire, remote team of software engineers, offering outsourcing and consulting services. Organiser of conference. Enjoys playing and watching sports that Croatians find odd and unpopular.

AM: Pragmatic TDD

Developers still hesitate to include writing tests in their everyday routine. There are numerous excuses, myths and misconceptions around: “they slow us down”, “we’ll never achieve 100% code coverage, so why bother”, “takes too much time to learn testing, we’re better of writing business logic instead”. When we get to the topic of writing tests first, the debate becomes even more heated.

In real world, where you get paid by code that ships, developer strive to write the most efficient tests possible. To cover mission critical code. To quickly decide whether writing a functional test or series of unit tests is the best approach. Let us learn together how to use phpunit and TDD in most efficient way possible, for extraordinary results.

This workshop is for developers who start their projects by drawing model of the database first, developers who are overwhelmed by number of testing tools or don’t know where to start and developers who simply want to level up their game.

This workshop is framework agnostic, using what is available via composer/packagist. Main tool that is going to be used is phpunit, but knowledge can easily be translated to others (phpspec, codeception...).