API Conference 2020
The Conference for Web APIs, API Design & Management
April 20 - 22, 2020 in The Hague, Netherlands

APIs have Properties – find and test them!

Session
Until December 19
✓ Workshop Day for free ✓ Raspberry Pi or C64 Mini for free ✓ Save up to €584 Register now
Infos
Wednesday, October 16 2019
16:45 - 17:45
Room:
Saal Maritim B

Most approaches to testing test individual examples. This is often not enough to tease out rare but realistic edge cases. As a result, it takes a large number of individual tests to really be confident that our API is ready for deployment: This is a lot of work. What if we could generate test cases automatically? Doing so leads to thinking about tests not in terms of individual examples, but general properties, and from there to an approach called property-based testing or QuickCheck. QuickCheck generates tests from properties. It has its origins in functional programming, and has been a crucial tool in eliminating bugs from many complex software projects. But QuickCheck does more than help find bugs: It encourages thinking about our API in terms of properties, and this style of thinking often leads to interesting domain insights and architectural improvements. The talk gives an introduction to QuickCheck and shows how to apply it in realistic projects.

All News & Updates of API Conference 2019:

Behind the Tracks

API Management

A detailed look at the development of APIs

API Development

Architecture of APIs and API systems

API Design & Documentation

From policies and identities to monitoring

API Platforms & Software as a Service

Web APIs for a larger audience & API platforms related to SaaS