[Pycon] [new paper] "Leonardo Giordani" - REFACTORING WITH TESTS IN PYTHON: A PRACTICAL EXAMPLE

info a pycon.it info a pycon.it
Sab 5 Gen 2019 23:13:29 CET


Title: REFACTORING WITH TESTS IN PYTHON: A PRACTICAL EXAMPLE
Duration: 60 (includes Q&A)
Q&A Session: 0
Language: en
Type: Talk

Abstract: Sooner or later every programmer has to face one of the most challenging tasks of our job, which is to deal with legacy code. Old, unsupported code, written by third party, often undocumented and untested. And often YOU are the one who wrote that code, some time ago.

One of the strategies to deal with such code and to merge it into a new project is to refactor it, and following a TDD (Test-Driven Development) approach is the only correct way to do it.

In this talk I will introduce the concepts of test-driven refactoring, using a practical example of legacy untested code. I will explain all the steps I followed from the initial code to the final result.

[If needed I can shorten the talk to 45 minutes inc Q&A]

Tags: [u'Python', u'refactoring', u'tdd']


Maggiori informazioni sulla lista Pycon