Skip to content
The docs are now organized by product area. Old links still work. Report a broken link

Quickstart

Start with your codebase and a Qualflare account. Use your AI coding agent to create and run your first tests, collect results with qf, and open the report.

Last updated

Your AI coding agent creates tests in your codebase, your test runner executes them, and qf uploads a launch you open in Qualflare. No existing tests or CI required. Already have a report? Complete setup, then upload it.

Before you begin

  • A Qualflare account, or an email, GitHub or Google account to sign up.
  • Your local codebase and its runtime, such as Node.js or Python.
  • A coding agent with file/terminal access; its account or subscription is separate from Qualflare.
  • Homebrew, or Node.js for npm. For Docker or a release binary, see Install Qualflare CLI.

Prefer manual testing? See Tutorial: run a manual regression cycle.

Create your account and project

Already have a workspace and project? Go to Install qf.

Sign up

Open https://app.qualflare.com/register and sign up with GitHub, Google or email. For email verification, trials and invitations, see Create your account and workspace.

Name your workspace and project

Name your workspace and project, clicking Next after each. Both URL Paths are permanent. Invite teammates optionally, then click Finish.

The setup asks for a workspace, a first project and optional invitations; both URL paths are permanent.

Overview opens with Set up this project.

Upload your first results

Install qf

brew install qualflare/tap/qf
# or, with Node.js
npm install -g @qualflare/cli

For Docker or a release binary, see Install Qualflare CLI; to upgrade later, see Upgrading.

Run qf version; upgrade an older install. Continue from your codebase's root directory.

Copy the access token

Under Save your access token, copy the once-shown token and click Done, I've copied it (or Generate access token if offered). It reads/uploads results with Allow writes off and expires in 30 days (Access tokens).

The Set up this project guide on a new project, with the access token shown once in step 2 and the Done, I've copied it button.
The setup guide shows your project's first access token once; copy it before you leave the page.

Already finished setup? Create a token in Project Settings โ†’ Access Tokens.

In your own terminal, run qf login my-project. It opens your browser: pick the project and approve. Or paste the token you just copied with qf login my-project --with-token, at the hidden prompt and never into your agent chat. The project you approve (or the token's project) receives your results; keep the local alias my-project below. Login saves credentials but doesn't verify server access.

Create and run your first tests

Open your codebase in your coding agent and paste:

Report tests from this codebase using saved qf alias my-project. Never read/display my token.
1. Inspect repo instructions/runtime. Reuse its framework or add minimal test tooling;
   explain new dependencies.
2. Add three meaningful tests of real behavior, including normal/edge cases. Preserve work;
   don't change behavior or weaken tests to get green results. Report bugs.
3. Run them; write fresh output supported by qf list-formats. Never fake/reuse results.
   Prefer JUnit XML; for node:test, group tests in describe() to emit a testsuite.
4. Show the test command, exit code, report path and pass/fail/skip counts.
5. Replace REPORT with that path, then parse:
   qf my-project collect "REPORT" --dry-run --output json
   Add --format if needed. Stop on missing/invalid/empty output or zero tests;
   match parsed names, counts and outcomes to the run before proceeding.
6. Upload that report once, keeping any --format flag:
   qf my-project collect "REPORT" --environment development
   Run separately from tests, not with &&; preserve failures. A dry run isn't
   an upload. Report upload success or the exact error.
7. Summarize files/results; tell me to open this project's new launch and match names/counts.

Resolve missing runtime/dependencies/services before resuming. If upload succeeded, verify it; don't upload it again below.

Upload your report yourself

Not uploaded yet? Generate a fresh report: qf reads 27 frameworks and 4 generic formats (formats). Replace results.xml with its actual path:

qf my-project collect results.xml --dry-run --output json

Check freshness, at least one parsed test, and matching names and pass/fail/skip counts. Fix generation/parsing before continuing; add the correct --format to both commands if needed (formats). Only then upload:

qf my-project collect results.xml --environment development

The dry run stays local; upload success prints OK Test results collected successfully. Collect failed tests too: don't chain the test command and collection with &&.

Verify

Back on Overview, Listening for your first run checks every 5 seconds. When the upload lands, click Launches and open it. Done: the fresh launch in the token's project matches your test names and pass/fail/skip counts. Upload success doesn't mean tests passed; inspect failures and stack traces there.

The Launches list with the launch from the first qf upload at the top.
Each upload creates a launch, listed under Launches.
A launch's Overview tab with the success rate breakdown and the AI analysis card.
Open a launch to see its pass and fail counts, each test's result and failure details.

What the upload created

  • One launch in the development environment, qf's default. New projects also have staging, production and qa (Environments).
  • A suite for each suite in your report and a case for each test, matched by name on later uploads (How uploaded results become suites and cases).
  • One count toward the workspace's monthly Launches limit, 250 on Starter (Limits).

Troubleshoot

Next steps

See also: FAQ ยท Troubleshooting