A QA outsourcing contract should tie any service credit (an agreed deduction from the fee when a service level is missed) to three outcomes the buyer can measure in its own systems: defect leakage into production, regression turnaround and automation stability. Four more rows (automation repair time, fix verification time, critical defect notice and defect report quality) support them, and team continuity is a reporting duty. Each row needs a clause that fixes the measurement basis, the source of record, the exclusions and the remedy.
On this page
Why testing service levels need different wording
A testing service produces information, not uptime, so its service levels have to be written around events in the buyer's tracker and pipeline (the automated sequence that builds the product and runs its tests). A hosting SLA (service level agreement, the contract section that sets measurable service targets and remedies) measures something the provider controls end to end. A QA vendor depends on inputs only the buyer controls: builds, test environments, test data and the triage (the meeting or step that assigns each defect a severity, an owner and a decision) decisions of the product team.
That dependency is why every QA metric needs an exclusions clause and a named clock. Without them, a regression cycle that waited a day for a broken environment counts against the vendor, and a defect in a feature never handed to testing counts as leakage. These two points deserve more drafting time than the target value.
Regulation adds a floor for some buyers. Where the buyer is a financial entity and the QA service is an ICT (information and communication technology) service under DORA (Digital Operational Resilience Act, Regulation (EU) 2022/2554, the EU law on digital operational risk in the financial sector), the contract has to include service level descriptions, including their updates and revisions ev-content-slametrics-001confidence A. Article 3 of that regulation defines ICT services as digital and data services provided through ICT systems to one or more internal or external users on an ongoing basis ev-content-nis2dora-011confidence A. Whether a testing engagement meets the definition is a question for counsel. The stricter targets for services supporting critical or important functions are in the service level row of the contracts and data protection guide.
The metric set, written as contract terms
Three rows carry credits, four support them with corrective action, and one is a reporting duty. The table states each row as contract terms, not as a formula. The metrics article holds the definitions, and the contract annex should quote the definition it uses. Targets are left out on purpose, because they come from the buyer's own measurement, as the last section explains. Two terms recur in the rows: the smoke test (a short check that a build is stable enough to test at all) that gates a build and the root-cause review (a joint session that decides for each production defect why testing did not catch it).
| Service level | Measurement basis (scope and clock) | Source of record | Exclusion | Remedy |
|---|---|---|---|---|
| Defect leakage | The two highest severities in features inside the agreed regression scope, after joint root-cause review; per release, read over a rolling set of releases named in the contract | Buyer's defect tracker (found-in field) plus the signed root-cause log | Features outside the agreed scope, changes released without passing through the vendor's cycle, faults in third-party services | Credit per release series above the target, plus a missing-test plan for each confirmed escape |
| Regression turnaround | Working hours in the calendar named in the contract; starts at the build-ready event, stops at the report sign-off | Pipeline timestamp for build-ready; report timestamp in the test management tool | Hours with the test environment down per the buyer's monitoring; builds that fail the agreed smoke test | Credit per late cycle, up to a monthly cap |
| Automation stability | The vendor's flaky rate as defined in the flaky tests article, for the vendor-maintained suites named in the annex; window and repeat count fixed in the annex, retries kept in the data | Per-test results exported from the buyer's pipeline | From the numerator only: tests whose only flaky events have a buyer-owned cause, such as a confirmed product defect or a logged environment outage | Credit per window above the target, plus a repair backlog with dates |
| Automation repair time | Vendor-maintained tests broken by an announced application change; from the announcement in the agreed channel to the first passing run | Pipeline history and the change ticket | Changes announced later than the agreed notice | Recovery plan; escalation to named leads after repeated misses |
| Fix verification time | Fixes marked ready for test, per severity; from that status to verified or reopened | Tracker status history | Fixes deployed to an environment the vendor cannot reach | Recovery plan; escalation to named leads after repeated misses |
| Critical defect notice | Top-severity defects; from the observation as logged in the test run to the notice in the agreed channel | Test run log and the channel's message log | Outage of the agreed channel, where the fallback channel was used | Written cause analysis for each miss |
| Defect report quality | Rejection rate on vendor-raised defects after buyer triage; per calendar month | Tracker resolution field, set by the buyer's triage | Defects closed as by design after a requirement change the vendor was not told about | Reporting template review; escalation after repeated misses |
| Team continuity (reporting duty) | Changes in the named roles; per contract quarter | Vendor staffing notices against the named-roles annex | Departures the buyer requested | Overlap period for the replacement; no credit |
The first three rows are the ones worth a service credit. Leakage covers whether testing worked, turnaround covers whether the report arrived in time for the release decision, and stability covers whether the automated part of the verdict can be trusted. The contract terms are narrower than the baseline in the QA audit article: the audit counts all escaped defects per release and runs its clock to the release decision, while these rows count the two highest severities in scope and stop at the report sign-off. The buyer therefore recomputes the baseline on the contract definition before setting a target.
Leakage needs a root-cause review because the tracker alone cannot say whether a test should have caught a defect. The clause should name who sits on the review, how long it has after each release and what happens when the two sides disagree, for example escalation to named leads on each side. Turnaround needs the smoke test written into the annex, because a build that fails it stops the clock. Stability needs the retries in the exported data, and the article on flaky tests defines the rate this row uses and who owns each fix.
Two drafting choices limit disputes over exclusions. Each exclusion should point to a record made at the time of the event, such as an environment monitoring entry, rather than to a statement written after the report. The annex should also set who logs an excluded hour and by when, so that a late entry does not reopen a closed month.
Team continuity has no target and no credit, only notice duties. Where the QA service is an ICT service under DORA and supports critical or important functions, the contract has to set the provider's notice periods and reporting obligations, including notice of any development that might have a material impact on its ability to meet the agreed service levels ev-content-slametrics-003confidence A. Losing the engineers who know the suite can be such a development, so the clause names the roles.
Who measures, and from which data
The buyer's systems should be the source of record, and the queries should be part of the contract. Each row in the table maps to a saved query on the tracker or the pipeline export, stored as text in a repository the buyer controls, and the service level annex names the query version in force. A change to a query is then a contract change, visible to both sides, rather than a silent edit to a dashboard.
The vendor needs read access to the same data, not a separate copy. With access, the vendor can check each monthly figure before the report goes out, and a dispute becomes a rerun of the same query on the same data. The annex should set the report date, the raw exports attached to it and the number of working days either side has to contest a figure.
Tool changes suspend the affected metric. A tracker migration or a new pipeline can change timestamps, status names and retry behavior, so the clause should pause remedies on the metrics that depend on the changed tool, rerun the queries on the new data and agree the revised definitions in writing before credits resume.
What to report but not pay against
Activity counts belong in the monthly report, not in the remedy schedule. Test cases executed, defects raised and code coverage all rise with effort, and a vendor paid against them is paid for volume. The metrics article explains how such counts mislead; for the contract, the rule is that these numbers are reported with no credit attached.
A vendor proposal may arrive with its own list, such as coverage, execution progress and response time. The buyer asks, for each item, for the measurement basis, the source of record, the exclusions and the target value. Items that answer all four map onto the rows above; the others move into the report.
Remedies under Polish law
Where Polish law governs the contract, for example because the parties chose it ev-content-eujur-015confidence A, a payment for a missed service level has to be checked against the Civil Code's rules on contractual penalties. A contract may provide that damage from non-performance or improper performance of a non-monetary obligation is redressed by payment of a set sum, called a contractual penalty ev-content-slametrics-005confidence A. A deadline for a regression report is not an obligation to pay money, so a per-cycle penalty is one form the remedy can take. Whether a credit drafted as a fee reduction is treated as a contractual penalty is a separate question, which this site's records do not answer and counsel should.
Two rules follow for a remedy drafted as a penalty. It is due in the agreed amount whatever the damage, and damages above it cannot be claimed unless the parties agreed otherwise ev-content-slametrics-006confidence A; the parties may therefore agree that damages above the penalty can be claimed. The vendor may ask for a reduction if the obligation was performed in substantial part or the penalty is grossly excessive ev-content-slametrics-007confidence A, which argues for per-cycle amounts with a monthly cap over one large sum.
Credits are not the only lever. The clause should name the corrective action that follows a miss: a written cause analysis within a set number of working days, a recovery plan and a remeasurement date. Repeated misses on the same row should give a termination right, which the exit clauses article connects to notice and handover.
Monitoring rights are wider than report access for some buyers. Where the QA service is an ICT service under DORA supporting critical or important functions, the financial entity needs the right to monitor the provider's performance on an ongoing basis, including unrestricted rights of access, inspection and audit for itself, an appointed third party and the competent authority ev-content-slametrics-004confidence A. A financial entity that is a microenterprise may agree with the provider that those rights can be delegated to an independent third party appointed by the provider, and that it can request information and assurance from that party at any time ev-content-slametrics-008confidence A. Read access to raw test results supports this right but does not replace it.
Setting the targets from the buyer's baseline
A target belongs in the contract only after both sides have measured the row it applies to. The first months of the engagement should be measure-only: both sides run the agreed queries on live releases, compare results and fix the definitions before any credit applies. The four-week pilot article shows how a pilot produces the first data points on the buyer's own builds.
Service levels also need a revision rule. A new product area, a change of release cadence or a move to a different pipeline changes what a fair regression turnaround is, and where the QA service is an ICT service under DORA the contract has to cover updates and revisions of the service level descriptions ev-content-slametrics-001confidence A. The clause should say who can propose a revision, on what evidence and with how much notice.
The guide linked above places the service level clause next to data protection, copyright and exit terms. Read together, they let a buyer check that the metric definitions, the data the vendor may access to compute them and the remedies all point to the same systems.