The Magic of Property Testing
Автор: Developer Voices
Загружено: 2024-03-08
Просмотров: 7514
Описание:
I like well-tested code. But I don't like writing and maintaining hundreds of unit tests. So here's a quick walkthrough of one of my favourite testing techniques - property testing. Under the right circumstances, property tests let you test hundreds of possible situations for nearly zero programmer effort. They are incredible value for money. 🤑
So in a footnote to our usual interviews, here's some coding demonstrating unit tests in action, and why I like them so much. And along the way I get to show you one of my favourite languages - PureScript - and one of my favourite editors - Neovim. 😎
--
Source code: https://github.com/krisajenkins/prope...
Kris on Mastodon: http://mastodon.social/@krisajenkins
Kris on LinkedIn: / krisjenkins
Kris on Twitter: / krisajenkins
--
0:00 Why Property Testing Is Great
1:31 Let's Set up a Build
3:04 It's Set Up - Let's Code
8:04 Low Cost Changes
8:36 Complex, Nested Types
10:15 One More Example
11:03 Conclusion
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: