AI Test Case Generation

Draft test cases with AI straight into your repository. Point the generator at a requirement — pasted text, or a ticket in Jira, Linear, Notion, or Azure DevOps — pick the template the cases should follow, and review every draft field by field before a single one is saved. Generation is available on the Starter and Pro plans.

Before you can use it

Generation stays out of sight until the workspace has switched it on. If you cannot find Generate with AI anywhere, the usual reasons are:

  • The workspace has not opted in to AI. A Tenant Admin enables it once, in AI Settings, which includes accepting the AI data processing terms. Until that is done, no AI control appears for anyone in the workspace — and, because the product does not advertise features it cannot deliver, nothing on screen will mention AI at all.
  • AI is switched off for this project. A Tenant Admin can disable AI on individual projects even when the workspace is opted in.
  • You do not have the Create test cases permission. Generating cases writes cases, so it needs the same permission as writing one by hand.
  • Your workspace has used its monthly AI allowance. See Plans & usage.

Tenant Admins can check the current state, and the workspace’s AI usage, from the workspace home.

Opening the generator

Generated cases need a destination folder, so open a folder in Test Cases first. From there, any of these work:

  • The folder’s context menu — Generate with AI.
  • The sparkle button in the Test Cases toolbar — Generate cases with AI.
  • The command palette (/Ctrl+K) — Generate cases with AI.
  • Generate here on the panel shown in a folder that has no cases yet.

At All cases the button is visible but disabled, with the tooltip Open a folder to generate cases into it — the repository root is not a destination. The generator is also hidden entirely while you are composing a test run.

Choose a source

The source is the requirement the AI reads to draft cases. Pick one of five:

Source What it reads
Pasted text A requirement, user story, or acceptance criteria you paste in (up to 20,000 characters). Nothing to connect — always available.
Jira issue A Jira issue’s description, resolved through a connected Jira integration.
Azure DevOps An Azure DevOps work item, resolved through a connected Azure DevOps integration.
Linear issue A Linear issue. Linear supports live issue search — start typing to find the issue instead of pasting a key.
Notion page A Notion page, resolved through a connected Notion integration.

The four ticket sources read from a project’s connected integrations. If a project has no integration for the tracker you pick, the generator points you to Admin → External References to add one. See External References to connect Jira, Linear, Notion, or Azure DevOps.

Configure the generation

Once a source is selected, set how the cases should be drafted:

  • Template (required) — the test case template the drafts follow. Its fields (including steps and priority) define the shape of each generated case. A project default is pre-selected when one is set.
  • Number of cases — how many cases to draft, from 1 to 20.
  • Style hint (optional) — a short nudge on coverage or tone, for example “happy path only”, “include edge cases”, or “focus on regression”.

Select Generate to draft the cases. Generation usually takes 5–30 seconds.

Review before saving

Nothing is written to your repository until you save. The generator returns the drafts collapsed for a quick scan, and you stay in control of each one:

  • Select or deselect each draft — only selected drafts are saved. Use Select all / Clear to act on the whole batch.
  • Edit the title inline before saving.
  • Expand a draft to read its full content — ordered steps, preconditions, expected result, priority, and any other template fields the case fills in.
  • Each collapsed row shows at a glance its priority, its step count, and — for ticket sources — a chip linking back to the source issue the saved case will be traced to.

When you’re happy, select Save to create the selected cases. They are created in the folder you opened the generator from and land in Drafts — fine-tune them from the test cases list anytime. Cases generated from a ticket are linked to that source issue for traceability.

Plans & usage

AI test case generation is included on the Starter and Pro plans; it is not part of the Free plan. Each generation counts toward your workspace’s monthly AI usage. If you reach your monthly AI limit, generation is paused until the next cycle — upgrading to Starter or Pro adds capacity. You can see where AI generation fits into your plan on the pricing page.

Related