Главная
Study mode:
on
1
Intro
2
Story
3
TDD best practices
4
Enterprise Developer from Hell
5
How would you write this
6
Propertybased testing
7
Adding and multiplication
8
Adding and zero
9
Property check
10
Review
11
Addition
12
Evil and lazy
13
QuickCheck
14
Compound types
15
Shrinking
16
Properties
17
Verification
18
Modelbased testing
19
John Hughes example
20
Example vs Probably based tests
21
Resources
22
Outro
Description:
Discover the power of property-based testing in this 53-minute conference talk from NDC Conferences. Learn how to write thousands of tests efficiently and uncover edge cases in your code. Explore the differences between example-based testing methods like TDD and BDD, and the property-based approach that runs a single test hundreds of times with randomly generated inputs. Gain insights into documenting code behavior under various conditions, understanding best practices, and implementing property checks. Follow along as the speaker demonstrates practical examples, including addition and multiplication properties, compound types, and shrinking techniques. Delve into model-based testing, verification, and real-world applications. By the end of this talk, acquire a powerful new technique to add to your testing toolbelt and improve your overall code quality.

The Lazy Programmer's Guide to Writing Thousands of Tests

NDC Conferences
Add to list
0:00 / 0:00