Skip to content
0:00 / 0:00

#property-basedtesting#f##quickcheck

The lazy programmer's guide to writing thousands of tests - Scott Wlaschin

NDC Conferences

230K subscribers • 68 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Scott Wlaschin, author of Domain Modeling Made Functional

Intermediate. Assumes working knowledge.

61K views6 years ago1 recommendation

Tools and practiceProgramming languagesTestingFunctional programming

Scott Wlaschin introduces property-based testing, explaining how it works and how it helps find edge cases.

Don't forget to check out our links below! ndcporto.com/ ndcconferences.com/ We are all familiar with example-based testing, as typified by TDD and BDD, where each test is hand-crafted. But there's another approach to writing tests. In the "property-based testing" approach, a single test is run hundreds of times with randomly generated inputs. Property-based testing is a great way to find edge cases, and also helps you to understand and document the behavior of your code under all conditions. This talk will introduce property-based testing, show you how it works, and demonstrate why you should consider adding this powerful technique to your toolbelt.

Why it's here

1 person recommends this

What people say. Highly recommended as an accessible and engaging introduction to property-based testing.

u/TheSilverNimbusin r/functionalprogramming • Recommends

On “Which Functional Language with strong typing to learn?”

…e before getting into this site. In the talks and on this site, he talks about the functional programming topics with a very humorous and easy-to-understand language. You should really check these out! Here are a few talks of his I highly recommend (with little to no knowledge of functional programming or F# required): * *F# for C# Programmers* | link to this video * *The Functional Programmer's Toolkit* | link to this video * *The Power of Composition* | link to this video * *The Lazy Programmer's Guide to Writing Thousands of Tests* | link to this video * *Domain Modeling Made Functional* | link to this video * *Functional Design Patterns* | link to this video You can also check out this talk that I found interesting, which includes some F#, functional…