PyCon UK 2019

TDD in Python with pytest
2019-09-14 , 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 https://github.com/lgiordani/pytest_workshop 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 www.thedigitalcatonline.com

In 2018 I published the free book “Clean Architectures in Python” http://bit.ly/getpycabook

This speaker also appears in: