Test by Design

Partner conformance suite

A provider publishes an API and partners implement it. This is how the provider checks that an implementation is right: it signs requests to the partner, compares each answer with what the specification requires, and gives a verdict per case.

No sign-up: press “Try it”. You get a sample partner of your own for a day, and versions of it that are each wrong in one way.

You, the partner Your browser where you press Run Your API in this demo, a sample partner: one bug planted in each version The suite signs, sends, judges the next case, please the verdict, stored signed request the answer

Scroll sideways to see the whole diagram.

A version with one bug planted in it shows what the cases catch, and what they let through. This is a simulation: a sample partner built into the site stands in for yours. In real use, a partner gives the suite its own API’s address. Cases that move a member’s points run one at a time for that member, and every point a run moves is given back.

The repository

Live

Partner conformance suite

A conformance suite of the kind OpenID Connect and Open Banking run for their partners, for an invented points API built from open standards: Standard Webhooks signing, RFC 9457 errors, idempotency by reference.

Each wrong version of the partner names the cases that must catch it, and a test runs every case against every version, so the list of what the suite catches cannot drift from the code. The result says what was wrong and which case caught it, and that the other cases pass a partner with that bug.

Each visitor gets a tenant of their own on the partner, two test members, and a signing secret kept encrypted. Every point a run moves is written down before it moves, so it is always given back.

React, Hono, Cloudflare Workers, D1

Test by Design

© 2026 Surakiart Yasaka