Hate watching videos? Check out the complementary article, which covers the same content: https://dev.to/zelenya/proper-and-basic-property-based-testing-3311
I assume you’ve heard of property-based testing (PBT). Has it ever seemed annoying, impractical, or unclear? Give it another chance. I promise to keep it practical and not talk demonstrate overused examples like `reverse(reverse(list)) shouldBe list`.
#fp #haskell #rust #scala
Subscribe to Impure Pics: https://bit.ly/impure-youtube
*More Impure Pics*
🐣 https://twitter.com/impurepics
📦 http://impurepics.com
👕 http://merch.impurepics.com
*Functional Alphabet book*
📗 Softcover: https://bit.ly/fp-abc-soft-cover
📘 Hardcover: https://bit.ly/fp-abc-hard-cover
*Watch more Impure Pics*
https://www.youtube.com/watch?v=c7FncTzvpUQ&list=UULF9-egQYdpElHtvVM-t9qDWQ
*About Impure Pics*
FP Advocat. Distilling functional programming for the good of all
Get in touch: https://zelenya.com
0:00 Intro
1:58 Random data
2:57 Generative-testing
3:32 Naive generators
4:51 Generous generators
6:21 Conditional properties
7:33 Writing proper properties
8:52 Successful testing
9:32 No-op testing
10:03 Round trips testing
10:32 Result/State testing
11:30 State consistency testing
12:45 Model-based testing
13:38 Final words