PyCon UK 2019

TDD in Python with pytest
2019-09-14, 14:30–16:00, Room L

Test-Driven Development is a methodology that can greatly improve the quality of your software. I strongly believe that developing software without following as much as possible a test-driven approach leads to massive delays and greater issues when requirements change (always, that is).

In this workshop we will develop a very simple Python project following TDD with the help of the pytest framework. We will work together, and no previous knowledge of testing or the testing framework is required. A minimum knowledge of Python is required, but the project will be very simple, so that we can focus on learning the testing methodology.

The workshop is specifically tailored for beginners, as I will review the basic rules of TDD and implement a very simple application.

I successfully run the workshop at London PyLadies Meetup, PyCon UK, PyCon IE, and Pycon IT

Attendees, please clone the repository at and follow the instructions. Please do it before the workshop.

Is your proposal suitable for beginners? – yes

Born in 1977, I started coding in April 1987 on a Sinclair ZX Spectrum. I then moved to MS-DOS PCs and in 1996 I started using Linux and became interested in operating system internals. I love architectures, algorithms, mathematics and cryptography.

I currently work as an infrastructure engineer and Python developer.

From 2013 I blog some technical thoughts at

In 2018 I published the free book “Clean Architectures in Python”

This speaker also holds: