TDD Full Course (Learn Test Driven Development with Python)

preview_player
Показать описание
#tdd #python #unit_testing

In this video, we're going to build a complete application from scratch using TDD (test-driven development) with Python with Flask, spaCy, pytest, and Selenium.

By the end of this video, you'll learn why TDD is a good practice, how to do TDD, and how to build a simple API to serve a machine learning based statistical language model using spaCy and Flask in Python!

▬▬▬▬▬▬ 👋 Get in Touch! 👋 ▬▬▬▬▬▬
► Check out the agency where I work!

► My LinkedIn

▬▬▬▬▬▬ 🕘 T I M E S T A M P S 🕘 ▬▬▬▬▬▬
0:00 - Motivation for TDD
4:24 - The 3 Rules of TDD
7:29 - App Demo
8:52 - Dependencies
11:46 - Project Setup and Coding
27:05 - How to use spaCy for NER
30:16 - Creating Test Doubles
38:39 - Continuing TDD Loop
52:25 - Browser Automation Tests with Selenium
1:12:40 - API Integration Tests with Flask

▬▬▬▬▬▬ 📚 TOPICS OVERVIEW 📚 ▬▬▬▬▬▬
☁️ Overview of TDD (Test-Driven Development) ☁️
► What is TDD?
► How to do TDD
► Using Pytest for unit testing
► Using Selenium for browser automation testing
► Named Entity Extraction
► Using spaCy for NLP
► Unit testing in Python
► Writing test doubles
► Build an API with Flask

▬▬▬▬▬▬ 🔗 LINKS ▬▬▬▬▬▬

Рекомендации по теме
Комментарии
Автор

this is probably one of the most valuable videos on the internet...

djcarday
Автор

For anyone unable to run pip install -e . at 14:00: You have to add py_modules=[] as a parameter in the setup.py file.

Otherwise you get an error like "multiple top level packages discovered in a flat-layout".

Hope it helps! And awesome video Wes

Incertophile
Автор

In the description it says you are using pytest which is what need to learn. Then I watch 25% of the video and see that you are using unittest?

heathergray
Автор

Wow.. to not know what you do not know.. thanks mate. Watched thousands of YT tutorials in my lifetime and this is one of the top10 richest and clearest.

phantomCL
Автор

As much as I love VIM, I think you should be using an IDE. There are numerous typos throughout this video unrelated to text in strings, many of which would be automatically caught or autocompleted correctly if you used more modern tooling. Referring to variables or named parameters incorrectly, not closing the table body tag, etc.

As well, at @1:08:00 if you actually ran the test this time, you would see the test give a false-positive, but for some reason you decided not to see a red test this time and just say you would? You only saw it red when you wrote the code and then realized the test was invalid? Why did you break the TDD approach mid-way through the video? Impatience? Difficult to be consistent with this approach?

Thanks for the video overall, it was still a very informative look into TDD in practice.

case
Автор

This course is amazing! thank you for putting this together

SeattleDataGuy
Автор

Hi Wes! I've been looking for a more real world scenario example of TDD for a long time. This was extremely helpful for me. 😊 Looking forward to working through your other videos!

brandonl.underwood
Автор

Hi Wes, I really like your explanations, great structure, relaxing tone of voice :)

As a budding web developer, focussing mainly on Python/Django/React/JS/Bootstrap, I especially liked this video. Any chance of a follow-up, maybe testing Vanilla JS, React and/or Django?

In any case, thanks for sharing, going through your channel currently, and looking forward to any future videos!

CritiKaster
Автор

this is one of the great videos about TTD I've seen so far

horoshuhin
Автор

Would you please let us know about that plug-in for VIM to execute pytest from within that you wanted to link in the description?

sinkingboat
Автор

Thanks for this one bro, a good intro to TDD, it was my first time learning about this and I feel like I do understand everything you have covered.

harrisngwenya
Автор

It's awesome. Perfect explanation, voice and example. So glad that google suggest me this video.

JabmarMusic
Автор

Interesting concept! I have not heard of it, looking forward to the series!

davidkierzkowski
Автор

Ah, nice! Others have made videos on TDD but yeesh, they are boring (excluding Uncle Bob, of course...). Loved yours!

johnt
Автор

can the dependencies like spacy, pytest and flask be installed using a python dependency management tool like poetry?

bernardamofah
Автор

Hey

First, thank you very much for this really good walking-through guide. One of the good ones I've seen.

Secondly, a developer who knows his way around Vim is always appreciated

boolcode
Автор

Would love a deep-dive on your vim setup and workflow !

scienceisrobots
Автор

please what is the name of the editor you used in bulding the program in this tutorial?

Bonus_compilations
Автор

Wish this was dumbed down a little. Needed more explaining about all those defs and classes made.

gongometube
Автор

Great job on this video man - keep up the great work!

curbyourdata
visit shbcf.ru