Considering Effectiveness in Test Automation

Tomasz Kunicki

Speaker: Tomasz Kunicki @TimiTaoPL

What matters about test automation is feedback. For new functionality we should have a guarantee of correctly implemented code/functionality and for old parts – of not having created new bugs.

What is effectiveness (accuracy) and what change could fighting for it in tests bring? How does it differ from efficiency and why sometimes going for the highest efficiency is not such a good idea? I will describe this shortly based on my experience with unit and BDD testing.

A Practical Introduction to Snapshot Testing

Freek van der Herten

Speaker: Freek Van der Herten @freekmurze

The basic idea of snapshot testing is that you compare the output of your code against a file that’s written on disk. That file is called a snapshot. If the output of your test matches up with the contents of that snapshot, it succeeds, otherwise, it fails. It’s a simple as that.

In this talk we’ll demo how you can add snapshot testing methods to PHPUnit and review a practical example on how to us them.

Deploying PHP Applications with Fabric

Oliver Davies

Speaker: Oliver Davies @opdavies

You’ve built your application, and now you just need to deploy it. There are various ways that this could be done – from (S)FTP, to SCP and rsync, to running commands like “git pull” and “composer install” directly on the server (not recommended).

My favourite deployment tool of late is Fabric – a Python based command line tool for running commands locally as well as on remote servers. It’s language and framework agnostic, and unopinionated so you define the steps and workflow that you need – from a basic few-step deployment to a full Capistrano style zero-downtime deployment.

This talk will cover some introduction to Fabric and how to write your own fabfiles, and then look at some examples of different use case deployments for your PHP project.