Integrations
One catalogue of the tools CoverOps works with: source control, test runners, CI, API and load tools, session replay, test management, AI providers and alerting. Open it to connect a repository or a server-side connector, write run results back to a test-management tool and map tests to its cases, set the project's AI provider, or copy the setup snippet that wires a test runner or pipeline to CoverOps.
Where to find it
Sidebar → Workspace → Integrations. It works on the active project.
- Everyone with access to the project can open it and read the catalogue.
- Saving or testing a server-side connector, syncing a run again, importing cases, changing a test mapping, saving a Slack or Teams channel, connecting with OAuth, and saving, testing or removing the AI provider need a role that can change the project; a viewer account or project viewer seat is refused.
- Repositories and git connections belong to your account, not to one project.
What it shows
Page header
A short description of how runner and CI integrations label each request with the X-CoverageOps-Test header and report each test's verdict, so every test in a run gets its own coverage. On the right: N active and N integrations ready. N active counts what is really connected, as the server reports it: connectors, Slack and Teams channels, source control and the AI provider. Snippet cards you enabled in this browser are not counted.
Toolbar
A search box (Search: TestRail, Playwright, Jenkins…) that matches name, vendor and description, and category buttons: All, Session replay, Source control, AI provider, Test management, Test automation, CI / CD, API & load testing, Alerting.
Cards
Each card shows the tool's name, vendor and category, a status badge, a preview badge when the connector is not built (qTest), a one-line description, on a connected test-management card the last write-back (synced, queued, sending, failed with the tool's answer, or skipped, with the run key and how many cases were posted and how many tests were unmapped, or Write-back off), the data direction (Tool → CoverOps, CoverOps → Tool or Two-way), the number of setup methods when there is more than one, Configure, and for snippet-only tools Enable / Disable.
The status badge means different things per kind of card:
- Source control: the number of connected repositories for that host, or off.
- Server-side connectors (ReplayOps, Jira / Xray, TestRail, Zephyr Scale, Azure Test Plans): connected once a connection is saved.
- AI providers: connected on the provider the project currently uses.
- Slack and Microsoft Teams: connected when the project has an enabled notification channel of that kind with a webhook. Nothing in your browser changes this.
- Everything else (snippet-only cards): enabled when you enabled it in this browser; the tooltip says it is marked in this browser only. It connects nothing.
The catalogue
| Category | Cards | What it actually does today |
|---|---|---|
| Source control | GitHub, GitLab, Azure DevOps, Bitbucket, Local folder | Connect a host once (token, or Connect with when the installation has an OAuth app) and pick repositories. Commits and diffs are read over the host's API; nothing is checked out on the server. Azure DevOps matches at file level, the others at line level. Local folder reads a working copy on the API server with the git CLI, no credential. |
| Test automation | Playwright, Cypress, Jest, Vitest, Mocha, pytest, RSpec, minitest, Selenium / JUnit 5, NUnit, xUnit.net, MSTest, go test, Bazel, GoogleTest, CTest, C / C++ coverage, Results API | Setup snippets. The runner opens the run, labels each test's requests and posts every test's verdict with the runner's name as tool (filterable on the run page); the run closes once every session of the runner has reported (COVERAGEOPS_RUN_PARTS for a CI matrix, COVERAGEOPS_FINISH_RUN=false when the pipeline closes it). The snippets also show test selection: the skip list coverageops select writes for Playwright, Cypress, Jest and Vitest, --coverops-select for pytest, and COVERAGEOPS_SELECT=true for JUnit, Mocha, RSpec, minitest, coverageops-dotnet test (NUnit, xUnit, MSTest) and coverageops-gotest, which ask CoverOps themselves and skip inside the runner. The .NET and Go snippets also rerun failed tests (--rerun-fails N) with every attempt counted. Bazel is coverageops bazel test in place of bazel test: one verdict per test case with the target label as suite, attempts from --flaky_test_attempts, results Bazel took from its cache reported as not executed, test targets left out by Bazel's own graph and CoverOps' answer, COVERAGEOPS_SPLIT across shards by target duration, and with coverageops bazel coverage the combined LCOV plus each target's lines as its tests' footprint (see Test selection). GoogleTest is a listener: it sends verdicts (each --gtest_repeat iteration counts as an attempt), applies selection and COVERAGEOPS_SPLIT as a negative --gtest_filter, and with COVERAGEOPS_FOOTPRINTS=on gives each test its own lines. CTest is coverageops ctest -- <ctest args>, which leaves tests out with --exclude-from-file (CMake 3.29+) or -E. C / C++ coverage is libcoverageops plus coverageops cc-upload, for services and test binaries built with gcc or clang coverage. Results API is a plain JSON call for runners without a plugin. |
| CI / CD | GitHub Actions, Jenkins, GitLab CI, Kubernetes auto-attach | Setup snippets. The run key is the CI build id (see Concepts); parallel jobs report as shards of one run. Kubernetes auto-attach uses a mutating webhook and one pod annotation. |
| API & load testing | Postman / Newman, k6 | Snippets that add the test header to requests, so API and load suites get per-test coverage. |
| Session replay | ReplayOps | Server-side connector, both directions. UI coverage and sessions are read from ReplayOps recordings; ReplayOps reads which of your code each session ran. Connect with ReplayOps sets up both with one consent. |
| Test management | TestRail | Server-side connector (API v2, user + API key). With write-back on, each closed run becomes a TestRail test run holding the mapped cases, with verdict (Passed / Failed; skipped tests stay Untested unless you name a status), elapsed time, the commit as version, attempts, the failure and a link to the run. Optionally closes the TestRail run. Imports the case list. |
| Test management | Jira / Xray | Server-side connector for Jira Cloud (OAuth or user + API token, plus an Xray API key for write-back) and Data Center (user + password, or a personal access token). With write-back on, each closed run becomes a Test Execution (optionally in a Test Plan) with a test run per mapped Test issue. Imports the project's Test issues. Also reads the title and status of the Jira issue keys shown on Story coverage. |
| Test management | Zephyr Scale | Zephyr Scale Cloud (API v2, API access token). With write-back on, each closed run becomes a test cycle with an execution per mapped test case (Pass / Fail / Not Executed, execution time, comment). Imports the project's test cases. |
| Test management | Azure Test Plans | Azure DevOps (REST 7.1, personal access token) against one test plan. With write-back on, each closed run becomes a test run over the plan's test points of the mapped test cases (Passed / Failed / NotExecuted, duration, error message). Imports the plan's test cases. |
| Test management | qTest (preview) | Not connected: mapping and note only. Runners can already send a qTest case id as the test's id. |
| AI provider | Anthropic Claude, OpenAI, DeepSeek, Ollama, Local / OpenAI-compatible | The project's language model, used for plain-language questions about the code map and for naming code clusters. |
| Alerting | Slack, Microsoft Teams | KPI breaches and recoveries, quality-gate verdicts, the daily digest and package-limit warnings are posted to an Incoming Webhook. Slack can also be connected with OAuth. The card is the project's notification channel of that kind, the same one Reports → Notification channels edits; what it receives is chosen there. |
The Configure dialog
The dialog adapts to the card:
- Preview notice on the qTest card: nothing is sent to that tool yet; runners can already send its case id as each test's id.
- Source control cards show the connection manager: connections, Browse repositories, connected repositories, Test connection, Edit, Remove, and for Local folder a path on the server with Scan.
- AI provider cards show the provider panel: API key, Model, Base URL, where to get a key and what it is used for, Connect & test, Test connection, Disconnect.
- Connect with Slack / Connect with Atlassian / Connect with ReplayOps appears on Slack, Jira / Xray and ReplayOps. If the installation has no OAuth app for that provider, the box names the variables to set on the API,
COVEROPS_OAUTH_SLACK_CLIENT_ID/_CLIENT_SECRET,COVEROPS_OAUTH_ATLASSIAN_CLIENT_ID/_CLIENT_SECRETorCOVEROPS_OAUTH_REPLAYOPS_CLIENT_ID/_CLIENT_SECRET, and the redirect URL to register. ReplayOps is reached atCOVEROPS_REPLAYOPS_URL(defaulthttps://api.replayops.ai). Git hosts useCOVEROPS_OAUTH_GITHUB_…,…_GITLAB_…,…_AZURE_…,…_BITBUCKET_…the same way. - Connection details (or Or paste a credential under an OAuth button) — the tool's fields:
- ReplayOps: ReplayOps API URL, Organisation id, Project id, Server token (VIEWER), Dashboard URL (for session links).
- Jira / Xray: Jira URL, Project key, User email (Data Center: username), API token (Data Center: password or personal access token), Jira (detect from the address, Cloud or Data Center), Xray Cloud API key client id and client secret, Xray Cloud region (optional), Test Plan key (optional), Write results back after each run.
- TestRail: TestRail URL, User email, API key, Project ID, Suite ID (multi-suite projects), Write results back after each run, Close the TestRail run afterwards, Status for skipped tests (optional).
- Zephyr Scale: Zephyr Scale API URL (empty is the global API; EU sites use
https://eu.api.zephyrscale.smartbear.com/v2), API access token, Jira project key, Jira site (for cycle links, optional), Write results back after each run. - Azure Test Plans: Organisation URL, Project, Personal access token (Test Management: read & write), Test plan ID, Write results back after each run.
- Slack, Microsoft Teams: Incoming webhook, filled in (masked) from the project's channel when one is stored. A note says the card is saved as the project's notification channel, that what it receives is chosen under Reports → Notification channels, and whether it is Connected or Not connected yet.
- Snippet-only cards with a token field: a note says tokens only fill in the snippet and are not saved, and that the real one belongs in your CI secret store.
- For server-side connectors: Save connection, Test connection and a connected / not connected yet label.
- On a connected test-management card:
- Write-back: the last five runs written back, each with its status, the run key, the run / execution / cycle it made in the tool (a link where the tool has one), when it finished or when it is tried next, how many cases were posted, how many tests were unmapped, and the tool's answer when it failed. Sync the latest run again queues the project's latest closed run.
- Test → case mapping: Import cases from … pulls the tool's case ids and titles (up to 5,000), and the table lists the tests of the last five runs with the case each one goes to: the id the runner sent (shown as
test_id) or a mapping. Type or pick a case id and Save to map a test; ✕ removes a mapping. A test without a case reads unmapped — not sent.
- Field mapping: which field of the tool maps to which CoverOps field.
- Setup snippet with Copy, and method chips when the tool can be wired more than one way. Under a snippet that names the API, a line says either that it was filled in with this installation's API address, or, while the address is not known yet, to replace
<API_URL>with the endpoint your agents already use. - Save & enable (or Done on source control and AI cards). On a connector it saves the connection, on Slack and Teams the notification channel, both on the server; the dialog stays open with the error if saving fails. On a snippet-only card it marks the card enabled in this browser.
How it works
- Two kinds of state. Server-side connectors (ReplayOps, Jira / Xray, TestRail, Zephyr Scale, Azure Test Plans), the Slack and Teams notification channels, source control and the AI provider are stored on the server for the project, and their cards keep nothing in your browser. Only snippet-only cards keep something in your browser: the Enable / Disable mark and the non-secret field values that fill in their snippet. These are never sent to the server.
- Secrets typed into a server-backed card are stored server-side and come back masked as
••••••. Sending the masked value back keeps the stored secret. A token typed into a snippet-only card is never stored anywhere: it is in the snippet while the dialog is open and gone after. - Older browser data. Opening the page removes what earlier versions kept in your browser for server-backed cards (tokens and webhook URLs included), and any token kept for a snippet card.
- Slack and Teams. Saving the card replaces the destination of the project's channel of that kind and switches it on; its routing and its two notification options stay as they were. A new webhook URL replaces what an earlier Slack authorisation recorded with it.
- Test connection makes a read with the saved credential and shows what came back (✓ or ✗ with the detail): Jira reads the signed-in account and, if set, the project, and Xray Cloud signs in with the Xray API key when one is set; TestRail reads the project; Zephyr Scale reads the project; Azure reads the project and, if set, the test plan; ReplayOps reads the project.
- Writing results back. When a run closes (its runners finished, the pipeline or someone closed it, or it went idle), one write-back is queued per test-management connector with Write results back on. Coverage-monitoring windows are not written back. A worker in the API sends queued write-backs one at a time, paced per tool, so receiving results never waits on a tool and a tool that is down only delays its own write-back.
- Which case a test goes to. Exactly one of, in this order: a mapping made on the card for the test's suite and name (exact, case-sensitive), or the id the runner sent with the test (
test_id, see the ingest protocol) when it has the tool's shape: TestRailC123(or123), Xray a Jira keyQA-45, Zephyr ScalePRJ-T12, Azure a work-item number4711(orAZ-4711). Names are never matched by similarity. A plain number is both a TestRail and an Azure id, so with both tools connected preferC123for TestRail. Several tests on one case post one result: failed if any failed, durations added up, the most attempts. - Once, not twice. Each run has one write-back per tool. It remembers the run it created in the tool and the verdicts it posted, saving them as it goes, so a retry, a second close or Sync the latest run again reuses that run and sends only cases that are new or whose verdict changed. A TestRail run is widened to new cases; once CoverOps has closed it, it takes no more.
- When a tool says no. A refused credential (401 / 403, or TestRail's sign-in page) or a request the tool rejects (another 4xx, such as a case that is not in the suite or plan) stops the write-back at once with the tool's answer on the card. A rate limit (429) is waited out in place when the tool's
Retry-Afteris short; otherwise, and after a 5xx or a dropped connection, the write-back is tried again after about 1 minute, 5, 15 minutes, 1 hour and 3 hours (or the tool'sRetry-Afterwhen longer), six attempts in all. A write is never repeated blind within one attempt. Azure cases with no test point in the plan are listed on the card and not sent. - Addresses. On a shared installation the connector's addresses (Jira, Xray region, TestRail, Zephyr, Azure) must be public: private and local addresses are refused when you save and again on every call. A self-hosted installation can allow internal hosts (
COVEROPS_OUTBOUND_PRIVATE). - OAuth. After the provider's consent screen you return to this page with a message (Connected as …, cancelled, or an error); after a Slack, Atlassian or ReplayOps authorisation the card opens again. A Jira connection made this way says Connected by authorisation; its token is refreshed automatically, and you disconnect by revoking it at the provider.
- ReplayOps by authorisation. On ReplayOps' consent screen you pick one ReplayOps project. CoverOps then gets a read-only token for that project (refreshed automatically), issues a link token for this CoverOps project and hands it to ReplayOps, and stores the address a session opens at. Nothing is pasted either way. Disconnect revokes that link token at once, revokes the grant at ReplayOps and removes the connector and session links. The token-by-hand setup (a VIEWER server token here, a link token pasted into ReplayOps, a URL template) is under Advanced: set it up by hand; saving that form replaces an authorised connection.
- Started from ReplayOps. ReplayOps' own Connect CoverOps button opens this page at
/integrations?connect=replayops&project_hint=<ReplayOps project id>: after signing in, the ReplayOps card opens and names the CoverOps project that will be connected (the active one; switch first to connect another). Nothing happens until you press Connect with ReplayOps; ReplayOps' consent screen then has that project preselected. Either way the result is the same connection, and disconnecting on either side disconnects both: CoverOps' Disconnect revokes the grant at ReplayOps, and ReplayOps' disconnect callsDELETE /v1/link/connectionwith the token it was handed. - When ReplayOps refuses the connection. If ReplayOps accepts the consent but refuses the connection, nothing is kept on either side: the link token CoverOps minted is revoked and the grant just received is given back to ReplayOps. The message says why in plain words; a package that does not include the CoverOps integration (it comes with Business and up, or as an add-on on Pro) is named as such, and the manual setup on the card still works. ReplayOps' HTTP status and request id are shown underneath for support.
- AI provider. One provider per project at a time; saving a different one replaces the current one. The key is tested before it is stored. Without a key of its own, the project uses the installation's default model when one is set, and the panel says so. Your package decides which kinds of provider you may connect.
- Snippets are filled with an example token (
cov_xxxxxxxxxxxx, or the token you typed in the dialog), the run keynightly-42, and this installation's API address:https://api.coverops.aion the hosted service, otherwise the address you opened the dashboard on. The same address is used on Agents and Quality gate. - When CoverOps is unreachable or busy during a test run. Every runner plugin (Playwright, Cypress, Jest, Vitest, WebdriverIO, Mocha, pytest, Robot Framework, JUnit 5 / TestNG,
coverageops-dotnet,coverageops-gotest) and the CLI send a call again after a 5xx, 408, 429, a timeout or a lost connection: after the server'sRetry-After(at most 60 s), else a growing random wait, at most 5 tries, within 120 s for verdicts and finishing a run and 30 s for opening it, selection and split plans (COVERAGEOPS_RETRY_ATTEMPTS,COVERAGEOPS_RETRY_SECONDS). Selection and split still run every test when they get no answer. Verdicts that still cannot be delivered are written to a spool file (COVERAGEOPS_SPOOL_DIR, by defaultcoverageops-spool-<uid>in the system temp directory, private to the user (0700, files 0600), never with the token;upload-spoolrefuses a directory or file another user could have written and any file saved with another token), and the log names the file and the command that sends it later:coverageops upload-spool <dir>— in CI, a later step of the same job withif: always(). The run's finish waits in the spool behind them, so a run is never closed without its verdicts; only if the spool cannot be written either does the run close by itself when it goes idle. The tests' own result never changes. See the ingest protocol.
What you can do
| Action | Effect | Who |
|---|---|---|
| Search, filter by category | Changes the view only | Everyone |
| Enable / Disable, Save & enable on snippet cards | Saved in this browser only, without tokens | Everyone |
| Copy | Copies the snippet | Everyone |
| Save connection, Save & enable on connectors | Stores the connector for the project | Writers |
| Save & enable on Slack / Teams | Stores and switches on the project's notification channel of that kind | Writers |
| Test connection | One read with the saved credential | Writers |
| Sync the latest run again | Queues the latest closed run's write-back; sends only what is new or changed | Writers |
| Import cases from … | Replaces the stored case list (ids and titles) | Writers |
| Map a test, remove a mapping | Decides which case a test's verdict goes to | Writers |
| Read write-back status and mappings | — | Everyone |
| Connect with … | Starts the provider's OAuth flow | Writers |
| Source control actions | Connect hosts, link, test, edit and remove repositories | You, for your account |
| AI Connect & test, Disconnect | Stores (after testing) or removes the project's AI key | Writers |
Connector saves and tests, write-back re-syncs, case imports, mapping changes, notification channel changes, OAuth outcomes, repository and git-host changes and AI provider changes are recorded in the Audit log.
Limits and good to know
- The qTest card documents a mapping; it sends nothing yet.
- Zephyr Scale Data Center / Server and Xray Cloud's GraphQL API are not used; Xray Cloud results go through the Xray REST import.
- The case import keeps ids and titles only (up to 5,000 per tool) and replaces the previous import; it never creates CoverOps tests.
- Write-back sends verdicts, durations, attempts, failure messages and links. Screenshots, logs and coverage are not uploaded to the tool.
- Snippet-card marks do not follow you to another browser and are not shared with your team.
- A Slack or Teams channel receives only what is ticked for it under Reports → Notification channels. A channel first created from this card (or by a first Slack authorisation) starts with everything ticked; untick there what it should not receive.