dánwòdánwò

Where danwo runs

Which should I use?

A few questions to find your setup, and which one to use for each purpose.

Most teams use more than one setup: local runs on every pull request, staging before a release, and a smoke test after each deploy. Answer these questions to find the setup for what you're doing now.

Find your setup

Is it production?

Use a smoke test on production: a few short checks, a test account, no matrix.

Is it a deployed environment, such as staging?

Use staging, with your providers' real test accounts.

Can you start the backend on your machine?

You can only run the frontend?

Use frontend only, against a remote API. Emulate only what the browser alone uses.

By purpose

PurposeSetupWhy
Every pull request, in CIFull-stack app or frontend and backendEverything emulated and breakable, the same result every time.
Finding the bugs only failures causethe same, with danwo matrixThe matrix needs the calls to go through danwo.
Before a releaseStaging, with real sandboxesChecks the real deployment and real provider configuration.
After a deployProduction, smoke tests onlyConfirms the live site works, without touching real data.
A frontend team without a runnable backendFrontend onlyCovers the browser's side today.

For frontend teams, an emulator of your own API built from its OpenAPI description is planned. It isn't built yet.

Next

On this page

Run it on every pull request

A GitHub check and one comment per pull request, with the flight records attached.

Set up CI