TDD in Python with pytest - Part 1 - Setup

Published: 27 May 2019
on channel: The Digital Cat
4,746
59

In this Python workshop I will show you how Test-Driven Development (TDD) works, through the creation of a very simple Python class.
TDD is a very powerful technique that can boost your productivity and save an incredible amount of debug time, if used correctly. A good test suite will immediately spot if changes to your code broke the intended behaviour, and thus allow you to perform safe refactoring. TDD is one of the pillars of modern development, and cannot be overlooked.

#Python #TDD #pytest

The code from this video can be found at:
https://github.com/lgiordani/pytest_w...

The workshop has been published in my book about the clean architecture, available for free on Leanpub https://leanpub.com/clean-architectur...

The amazing pytest testing framework https://docs.pytest.org/en/latest/

The videos, music and fonts I used in this video are
Cat Feline Pet by Gustavo_Belemmi (https://pixabay.com/videos/cat-feline...)
Mountains Beautiful Landscape by invisiblepower (https://pixabay.com/videos/mountains-...)
Asimov Font by KineticPlasma Fonts (https://www.fontspace.com/kineticplas...)
Spring evening village by inchadney (https://freesound.org/people/inchadne...) [CC BY-NC 3.0]
Staying Positive by spinningmerkaba (http://dig.ccmixter.org/files/jlbrock...) [CC BY-NC 3.0]

The [CC BY-NC 3.0] license can be found at https://creativecommons.org/licenses/...
The Pixabay license can be found at https://pixabay.com/service/license/
Thanks to these artists who provided such useful assets for free.

You Can Find Me On:
My Website - https://www.thedigitalcatonline.com
Twitter -   / thedigicat  

This video is released under Creative Commons Attribution-ShareAlike 4.0 International [CC BY-SA 4.0] https://creativecommons.org/licenses/...


On this page of the site you can watch the video online TDD in Python with pytest - Part 1 - Setup with a duration of hours minute second in good quality, which was uploaded by the user The Digital Cat 27 May 2019, share the link with friends and acquaintances, this video has already been watched 4,746 times on youtube and it was liked by 59 viewers. Enjoy your viewing!