Test-Driven Development in Python: Test First Code Later

preview_player
Показать описание
Today we learn about test-driven development and how to easily do it in Python.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

💼 Services 💼

🌐 Social Media & Contact 🌐
Рекомендации по теме
Комментарии
Автор

I have been waiting for this concept with your elequent way of teaching.
Thanks indeed not only for this episode but also for all other ones.

mehdimojaradi
Автор

One question from the beginning: How is building a calculator class the first step if you're supposed to write your test first then code?

zackplauche
Автор

NeuralNine, thank you for another high quality, conchise and clear introduction to a Python feature. Extremely helpful and I like to comment you for the way you break down the 'problem' and turn it into a tutorial on how to approach this myself.

NLCircle
Автор

intro is sooo good! I would buy for a ringtone!

pablocastaneda
Автор

Thanks, it was really helpful! I've just learnt this TDD thing and wanted to try and implement it myself in my hobby project.

Автор

this is really well done thank you. I would love it you did more on TDD

BrandonNewell
Автор

I prefer using pytest since I don't have to write the boilerplate as with the unittest module. Also, the combination with pytest-cov gives nice coverage reports.

ScriptRaccoon
Автор

Dude, i am studying at ITMO in Russia, and I really want to thank you for the video, python tests are my homework)

hxjuoxv
Автор

Which in your opinion is better, unittest or pytest?

arkadiuszpaterak
Автор

would the statement if not instanace(x, int) and not instance(x, float) be always false in the case of a number?

holthuizenoemoet
Автор

If you are going to do this type of thing, you should really use the testing package that is the most popular. unittest is VERY old.

jparks
Автор

I have to say that while in theory this a good way of making things I find often that testing doenst allow you to keep up the speed of the project and at the I just end up running the application and see what crashes and a folder full of unitest that became outdated

duftcola