Тёмный

Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018 

PyCon 2018
Подписаться 21 тыс.
Просмотров 36 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@bernoulli9047
@bernoulli9047 2 года назад
There were a few gems here that I want to commit to memory. Will be rewatching this one.
@CppExpedition
@CppExpedition 3 года назад
This is brutally impressive, thank you so much!
@mishasawangwan6652
@mishasawangwan6652 4 года назад
6:42 lol ..’huge negative numbers’ ...g1. made me chuckle a lil’.
@StankyPickle1
@StankyPickle1 6 лет назад
This is cool!
@RandomAlexus
@RandomAlexus 3 года назад
I got to the part where he brought granola bars and just had to like the video on principle.
@10e999
@10e999 6 лет назад
Great talk.
@Sousleek
@Sousleek 6 лет назад
I've benn interested by contract programming paradim a year ago. Now i'm interested again :)
@acobster
@acobster 4 года назад
Why "especially" Python? I'd be interested to hear more about that.
@l_combo
@l_combo 4 года назад
The talk was at PyCon (Python Conference), there isn't anything specific that makes this constrained to Python.
@sadhlife
@sadhlife 3 года назад
it's because how easily hackable and dynamic python is, you can even do things like modify the AST of a function at runtime, or pull the stack frame out and inspect it at runtime, which makes it possible to write some wacky contracts that's basically impossible in many other languages
@magno5157
@magno5157 5 лет назад
Didn't realize programming by contracts was still unknown to a large number of programmers. I thought they were already pretty standard.
@cypix314123
@cypix314123 5 лет назад
Well now that C++20 will get them as language feature, few more will now.
@magno5157
@magno5157 5 лет назад
cypix314123 That’s interesting and puzzling. How are they going to implement it? Seems to me there will be lots of extra new syntax, which would make contracts much, much less readable than just regular comments.
@cypix314123
@cypix314123 5 лет назад
@@magno5157 I don't really know. I think they will use the C++ attribute syntax. I stop working with C++ at C++14 and I heard that about contracts on C++ podcast. I found this www.modernescpp.com/index.php/c-core-guidelines-a-detour-to-contracts int push(queue& q, int val) [[ expects: !q.full() ]] [[ ensures !q.empty() ]]{ ... [[assert: q.is_ok() ]] ... }
@MrMartingale1
@MrMartingale1 4 года назад
@@cypix314123 wow C++ is becoming even more pathetic soup of punctuation marks
@japrogramer
@japrogramer 6 лет назад
where did he import @ensure from?
@серымуткамнапрудах
from contracts
@l_combo
@l_combo 4 года назад
The module is: pypi.org/project/dpcontracts/ Git Repo: github.com/deadpixi/contracts
@ruixue6955
@ruixue6955 3 года назад
2:57 beyond unit tests
@damickillah
@damickillah 4 года назад
"...better than any testing framework out there...any language..." Ok. Hypothesis is almost an exact clone of quickcheck for haskell. So, dude, nah.
@CripplingDuality
@CripplingDuality 4 года назад
He did say 'one of the best', to be fair, and considering the limitations of Python when compared to Haskell, that's a significant achievement.
@MH-oc4de
@MH-oc4de 2 года назад
Yawn. Yet another talk with contrived examples designed to justify the existence of non-necessary packages that are not worth the tiny benefit they provide.
Далее
Pro tips for writing great unit tests - Raymond Hettinger
1:00:42
Carol Willing - Practical Sphinx - PyCon 2018
27:21
Просмотров 33 тыс.
Reuven M. Lerner - Practical decorators - PyCon 2019
29:12