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:
- Lightbend Scala Language - Expert (in London on 14th - 16th March 2018)
- A Firehose of Functional Programming in Swift with Daniel Steinberg (in London on 21st March 2018)
- Fast Track to F# with Tomas Petricek & Phil Trelford (in London on 3rd - 4th April 2018)
- DDD eXchange 2018 (in London on 26th - 27th April 2018)
The lazy programmer's guide to writing 1000's of tests: An introduction to property based testing
Scott has over 20 years experience in software development, design and architecture, covering all aspects of business software.