Please log in to watch this conference skillscast.
We are all familiar with example-based testing, as typified by TDD and BDD. Property-based testing takes a very different approach, where 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 behaviour of your code under all conditions.
This talk will introduce property-based testing and show how it works, and why you should consider adding it to your arsenal of testing tools.
YOU MAY ALSO LIKE:
- Jenny Martin and Pete Buckney's BDD From Start to Finish - Successful Delivery through Continuous Collaboration (in London on 23rd - 25th January 2017)
- Uncle Bob's Advanced TDD (in London on 3rd - 4th April 2017)
- Uncle Bob's Clean Code: Agile Software Craftsmanship (in London on 5th - 7th April 2017)
- Agile Testing & BDD eXchange 2017 (in London on 9th - 10th November 2017)
The lazy programmer's guide to writing 1000's of tests: An introduction to property based testing
Scott Wlaschin is a .NET developer, architect and author with over 20 years experience in enterprise development.