API Conference 2019
The Conference for Web APIs, API Design & Management
October 14 - 16, 2019 in Berlin

APIs have properties – find and test them!

Session
Till July 25
✓ Arduino Starter Kit or Raspberry Pi for free ✓ Group discount ✓ Save up to € 304 Register now
Infos
Wednesday, October 16 2019
16:30 - 17:30

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 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 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