Test by Design

Surakiart Yasaka SDET

Testing tools, and the reasoning behind them.

Test systems I designed end to end, with the reasoning behind each choice written down. Some of them are running now — open them.

No sign-up. In the dashboard press “Log in to demo”; in the sandbox press “Run a payment end to end”.

Hiring, or have a question? LinkedIn or email.

starts runs reports next day Daily cron CI pipeline Test suite Dashboard
One real run, end to end: a daily schedule starts CI, CI runs the suite, the result and its report land in the dashboard.

Projects

Live

v1.3.0

Test Run Dashboard

Self-service test runs, as a demo: each visitor gets a sandbox where roles, an admin page and an audit log really work, and the runs they start are simulated. The API and UI suites’ daily CI runs beside them are real.

Every test was proven able to fail by a deliberate mutation before it was trusted.

No password: press “Log in to demo” for a sandbox of your own.

React, Cloudflare Workers, D1, R2

Live

Paygate Sandbox

Settle, decline with a specific code, time out, or send the same webhook twice out of order — on demand. “Run a payment end to end” needs no sign-up, and “Log in to demo” opens its dashboard with sample payments of your own.

Node, Vercel, Vercel KV

Live

Partner conformance suite

Does a partner implement an API correctly? Signed requests go in, and a verdict for every case comes out.

Each version of the sample partner has one bug planted in it, and the result says which case caught it.

No sign-up: press “Try it”.

React, Hono, Cloudflare Workers, D1

Code only

v1.0.0

API Automation Patterns

The same API suite built twice against one contract, so two structures can be compared on evidence.

Mutate the mock, and both suites fail identically.

Playwright, TypeScript, Allure

Code only

UI Automation Patterns

The same browser journeys built two ways, against an application where five of six accounts are broken on purpose.

Every assertion proven able to fail by mutation.

Playwright, TypeScript, Allure

The dashboard and both suites Play one run How it fits together, step by step.

How it fits together

One run of the dashboard, from the Run button to the report on screen. Press play, or pick a step.

User browser Machine API key Dashboard, repo 1 Test suite, repo 2 or 3 Front end React Backend Worker · the only writer File storage R2 · private Database D1 · run rows CI pipeline GitHub Actions · daily Test suite API or UI · one per run Test report Allure · one file picks + Run POST /runs session status, polled POST /runs no browser, same rules no dispatch a visitor’s run is simulated queued row out, result back POST /webhook HMAC signed runs main builds PUT scoped storage token report, read back

Scroll sideways to see the whole diagram.

  1. Ask for a run. A visitor picks a suite and presses Run, and the front end sends POST /runs with their session. A machine holding an API key sends the same call straight to the backend, and meets the same rules.
  2. Simulate it. The backend writes the run into the visitor’s own sandbox and plays it out itself. It dispatches nothing: the dashboard is a demo.
  3. Run the suite, for real. Once a day each suite’s CI pipeline runs all of it on main, on its own schedule, and builds one report.
  4. Send it back. The suite uploads the report into the dashboard’s private storage with a scoped token, then posts a signed result to the backend, which records it as a real run every visitor sees and none can change.
  5. Read it. The front end polls the backend for status, and the report is read back through the backend, never from storage directly.
Steps 1 and 2 are what a visitor does in the demo; steps 3 and 4 are each suite’s real daily run. Blue marks a crossing that has to prove who it is. Only the backend writes run rows, and the storage is never public.
The whole system page

Inside a suite run, what makes tests independent, what parallelism buys.

Test by Design

© 2026 Surakiart Yasaka