Skip to content
forcedotcom avatar

Dx Devops Test Suite Run

Runs DevOps Center test suites on a pipeline stage with confirmation, then polls by runId until completion.

CCM score
77 of 100
skills.sh installs
5.1K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers execution on Pre-Promote, Post-Promote, or Review events, from confirmation gate through polling to results handoff
  • Requires an explicit confirmation before triggering the Connect API call, then polls DevopsTestSuiteExecution at provider-specific intervals
  • Enforces no retrigger of a quality gate unless the latest coverage meets the DevopsQualityGateRule threshold
  • Hands failed runs to dx-devops-test-failures-analyze and pairs with dx-devops-test-pipeline-configure for new gates or thresholds

Install

$ npx -y skills add forcedotcom/sf-skills --skill dx-devops-test-suite-run -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Run a DevOps Center Test Suite

Triggers a DevOps Center test suite execution and watches it to completion. Running and polling are two halves of one operation — never poll without first having (or being handed) a runId.

API version: All DevOps testing system calls target Salesforce API v67.0 (minimum required).

Important: All DevOps Center data lives in the Salesforce org — NOT the local repo. Always query the org with sf data query or sf api request rest.


Prerequisites

Run the prerequisite checks in references/prerequisite-checks.md — Prerequisites 1–4 and Prerequisite 5 (stage), since this skill operates on a specific stage. You need the confirmed doce-org-alias, pipelineId, and stageId.

Inputs required

InputHow to obtain
pipelineIdPrerequisite 4 (pipeline selection)
stageIdPrerequisite 5 (pipeline stage confirmation)
eventConfirm with user: Pre-Promote, Post-Promote, or Review
testSuiteIdsConfirmed suite IDs from selection or recommendation
doce-org-aliasPrerequisite 1

Step 1 — Trigger execution

Confirmation gate

Details

Repository
github.com/forcedotcom/sf-skills
Categories
DevOps & Cloud, Testing & QA
First seen
Jul 14, 2026

Questions

What does the dx-devops-test-suite-run skill do?

It runs DevOps Center test suites on a pipeline stage for the Pre-Promote, Post-Promote, or Review event. After you confirm the run, it polls the execution by runId until it completes, fails, or times out, then hands failures to analysis.

How do I install the dx-devops-test-suite-run skill?

Run npx -y skills add forcedotcom/sf-skills --skill dx-devops-test-suite-run -y in your project. This lets the agent trigger test suite runs on a DevOps Center stage and watch them to completion.

What does the skill need before it can run suites?

It needs a connected DevOps Center org, a confirmed pipeline ID, stage ID, event, and test suite IDs. It asks you to confirm the run before calling the org, because the call changes org state.

Can dx-devops-test-suite-run re-run a quality gate after fixes?

Yes, it can retrigger a quality gate once the latest coverage meets the threshold. It does not configure new gates or thresholds; that is handled by dx-devops-test-pipeline-configure.

Should I use this skill to run sf apex run test directly?

No, running sf apex run test directly is covered by platform-apex-test-run. Use this skill when you want to run or watch DevOps Center suites on a stage.

More from forcedotcom/sf-skills

All 78

Similar to Dx Devops Test Suite Run

More DevOps & Cloud