TDD in Python with pytest - Intro

Publié le: 27 mai 2019
sur la chaîne: The Digital Cat
1,032
22

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
Mountain Mount Drone by luc_toutsimplement (https://pixabay.com/videos/mountain-m...)
Aerial Sailboat Sun by susaanbrownn (https://pixabay.com/videos/aerial-sai...)
Soccer Sports Football by Coverr-Free-Footage (https://pixabay.com/videos/soccer-spo...)
Busy Office People by Coverr-Free-Footage (https://pixabay.com/videos/busy-offic...)
Walking Busy People by Alive_Light (https://pixabay.com/videos/walking-bu...)
Climber Elbe Sandstone Mountains by glorydays2012pro (https://pixabay.com/videos/climber-el...)
Sunrise Viewpoint Landscape by upstreamcity (https://pixabay.com/videos/sunrise-vi...)
Lighthouse Sunset Sunrise After by bellergy (https://pixabay.com/videos/lighthouse...)
Laptop Notebook Developer Web by Coverr-Free-Footage (https://pixabay.com/videos/laptop-not...)
Bridge Aerial View by upstreamcity (https://pixabay.com/videos/bridge-aer...)
Bridge River Architecture by upstreamcity (https://pixabay.com/videos/bridge-riv...)
Drill Board Opening by klimkin (https://pixabay.com/videos/drill-boar...)
Dictionary Wind Pages by elenlackner (https://pixabay.com/videos/dictionary...)
Pencil Write Author by Coverr-Free-Footage (https://pixabay.com/videos/pencil-wri...)
Library Books Corridor by klimkin (https://pixabay.com/videos/library-bo...)
Guitar Music by ofermusic (https://pixabay.com/videos/guitar-mus...)
Cyclist Bicycle Urban Racing by Pexels (https://pixabay.com/videos/cyclist-bi...)
City Building Architecture by bellergy (https://pixabay.com/videos/city-build...)
Working Site Construction by bellergy (https://pixabay.com/videos/working-si...)
Code Programming System by voltamax (https://pixabay.com/videos/code-progr...)
Whiteboard Planning Strategy (https://pixabay.com/videos/whiteboard...)
Aerial Sunset Rural by invisiblepower (https://pixabay.com/videos/aerial-sun...)
Nederlands Sailing Lake by dorustoica (https://pixabay.com/videos/nederlands...)
Asimov Font by KineticPlasma Fonts (https://www.fontspace.com/kineticplas...)
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/...


Sur cette page du site, vous pouvez voir la vidéo en ligne TDD in Python with pytest - Intro durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur The Digital Cat 27 mai 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,032 fois et il a aimé 22 téléspectateurs. Bon visionnage!