Home / Insights / Product Design and Discovery

Product Design and Discovery

Writing an SRS That Connects Requirements to Acceptance

A software requirements specification is useful only if each requirement can be built, tested and traced back to a reason. This guide covers SRS structure, the rules for well-formed requirements, a worked example for a quotation workflow and a traceability matrix from requirement to acceptance test.

TopicsProduct Design and DiscoveryQA and Software TestingSoftware Partner Selection

Key takeaways

  • An SRS describes what the software must do and how well, at a level of detail developers can build from and testers can verify.
  • Good requirements are necessary, unambiguous, complete, consistent, feasible, verifiable and traceable, in the terms of ISO/IEC/IEEE 29148.
  • Write one requirement per statement, give each an ID and a rationale, and make quality requirements measurable.
  • A traceability matrix links each requirement to its source and to the tests that prove it, which makes change and acceptance manageable.
  • An SRS is a living document in agile delivery: version it, review changes and keep it in step with the backlog.

A software requirements specification (SRS) is the document that states what a software system must do and the qualities it must have. Developers use it to build, testers to verify, project managers to estimate and buyers to accept. When it is vague, each group fills the gaps differently, and the differences surface late: in testing, in acceptance or in a dispute about scope.

This guide focuses on writing an SRS that ends in acceptance. It shows how to structure the document, how to write requirements that can be tested and how to trace each one from its business reason to the test that proves it.

Where the SRS fits

Requirements documents form a chain. Each serves a different decision.

DocumentQuestion it answersTypical owner
———
Business requirements (BRD or business case)Why are we doing this, and what value must it deliver?Business sponsor, business analyst
Product requirements (PRD)What should the product do for users in this release, and how will we know it worked?Product manager
Software requirements specification (SRS)Exactly what must the system do, and how well, so it can be built and verified?Business analyst, architect, QA lead

Small teams may combine these, but the questions remain distinct.

Our guide to the product requirements document covers the PRD in detail. The SRS goes one level deeper: it covers system behaviour, data, interfaces and measurable quality requirements, including the requirements users never see.

A practical SRS structure

The international standard ISO/IEC/IEEE 29148 describes the content of a software requirements specification. Most practical SRS documents follow a structure close to this:

  1. Introduction: purpose, scope, definitions, references and the system’s context.
  2. Overall description: users and their characteristics, operating environment, assumptions, dependencies and constraints.
  3. Functional requirements: grouped by feature or workflow.
  4. Quality requirements: performance, availability, security, usability, maintainability and others, each measurable.
  5. External interfaces: user interfaces, APIs, integrations with other systems, hardware and communications.
  6. Data requirements: main entities, rules, retention and migration.
  7. Verification: how each requirement will be verified, often as a traceability matrix.
  8. Appendices: glossary, models, open issues and change history.

You do not need every heading for every project. You do need the content that the headings prompt: a project without a glossary still needs agreed terms, and a project without an interfaces section still has interfaces.

Writing requirements that can be tested

ISO/IEC/IEEE 29148 lists the characteristics of a well-formed requirement. In practical terms:

CharacteristicTest it with this question
——
NecessaryWhat breaks or is lost if we delete it?
UnambiguousCould two readers build different things from it?
CompleteDoes it say what happens in the error and edge cases?
SingularDoes it contain “and” joining two separate behaviours?
FeasibleCan it be built within the constraints we have?
VerifiableHow exactly will a tester prove it passes?
ConsistentDoes it contradict another requirement or the glossary?
TraceableWhere did it come from, and which tests cover it?

A quick review checklist based on the characteristics in ISO/IEC/IEEE 29148.

Rules that prevent most problems

  • Use “shall” for mandatory requirements, and avoid “should”, “may” or “as appropriate” unless you define what they mean.
  • One behaviour per requirement. Split compound statements so each can pass or fail on its own.
  • Ban unmeasurable words such as fast, user-friendly, robust, flexible and secure, unless followed by a measure.
  • State the actor and the condition: who does what, when and with what result.
  • Give every requirement an ID and a rationale. The rationale helps people decide later whether a change is safe.
  • Define terms once in a glossary and use them consistently. “Customer”, “client” and “account” should not mean the same thing in one paragraph and different things in another.

Before and after

WeakBetter
——
The system should be fast.QR-PERF-01: For 95% of requests under the load in QR-PERF-03, the quote summary screen shall display within 2 seconds of the user selecting a quote.
Users can create and send quotes.FR-Q-01: A sales user shall be able to create a draft quote for an existing customer. FR-Q-05: A sales user shall be able to send an approved quote to the customer’s billing email as a PDF.
The system must be secure.QR-SEC-02: Only users with the Sales Manager role shall be able to approve a quote whose discount exceeds 15%.
Data must not be lost.QR-REL-01: A quote saved while the device is offline shall be stored on the device and synchronised within 60 seconds of connectivity returning, without creating a duplicate quote.

Measurable, single requirements are easier to estimate, build and test.

A worked example: the quotation workflow

Here is an extract from an illustrative SRS for a field-service company’s quotation module. The same example appears in our guide to functional and non-functional requirements.

IDRequirementRationaleSource
————
FR-Q-01A sales user shall be able to create a draft quote for an existing customer.Quotes must be linked to customers for invoicingPRD goal G1
FR-Q-02The system shall calculate line prices from the price list effective on the quote date.Prevents manual pricing errorsFinance interview
FR-Q-03A draft quote whose total discount exceeds 15% shall require Sales Manager approval before it can be sent.Margin control policyPricing policy v3
FR-Q-04The system shall record the user, time and previous value for every change to an approved quote.Audit and dispute resolutionFinance
FR-Q-05A sales user shall be able to send an approved quote to the customer’s billing email as a PDF.Customers accept quotes by email todayPRD goal G1
QR-PERF-01Quote summary display within 2 s at the 95th percentile under normal loadSales staff work on site with customersPRD success metric
QR-REL-01Offline quotes synchronised within 60 s without duplicatesWeak signal at many sitesField observation

Illustrative SRS extract. Each row has an ID, a rationale and a source.

Notice what the rationale column does. If someone later proposes removing the approval step to save time, the rationale shows it supports a pricing policy, so the business, not the developer, needs to decide.

Interfaces, data and constraints

Requirements that sit between systems are the ones most often missed. Document:

  • APIs and integrations: which system is the source of truth, the operations used, data formats, error handling, rate limits and who owns the other side. Our guide to API-first development explains how to agree contracts early.
  • Data: main entities, validation rules, retention periods, personal data, and what must be migrated from old systems.
  • Constraints: mandated platforms, hosting regions, regulations, supported devices and browsers.
  • Assumptions and dependencies: for example, “the accounting system exposes an API for invoice creation”. If an assumption turns out false, the requirements that depend on it need revisiting.

Trace requirements to tests

A requirements traceability matrix links each requirement to its source, its design or backlog items and the tests that verify it. It answers three questions that otherwise take days: Is everything we agreed being built? Is everything being built actually needed? What do we need to retest if this requirement changes?

RequirementSourceBacklog itemVerificationStatus
—————
FR-Q-02Finance interviewStory 112Test cases TC-210 to TC-214 (price list boundaries)Passed
FR-Q-03Pricing policy v3Story 118TC-230 (14.9%, 15%, 15.1% discount)Passed
QR-PERF-01PRD success metricStory 140Load test LT-03Failed, fix in progress
QR-REL-01Field observationStory 151TC-301 (offline save, reconnect, retry twice)Not run

A traceability matrix makes acceptance status visible requirement by requirement.

The matrix also drives user acceptance testing: business users can see which requirements they are confirming and which evidence already exists.

Keep the SRS current

In waterfall projects the SRS is often signed off once and frozen. In agile delivery it must change with the product, or it becomes a historical document nobody trusts. Practical habits:

  • Keep requirements and stories linked. The SRS holds the agreed behaviour; the backlog holds the work to deliver it.
  • Version the document and keep a change log with the reason and approver for each change.
  • Review changes for impact using the traceability matrix before accepting them.
  • Assign an owner who keeps the SRS accurate, usually a business analyst or product owner with QA support.
  • Record open questions with an owner and a date rather than leaving gaps unmarked.

How long should an SRS be?

As long as it needs to be to remove ambiguity where ambiguity is expensive. A payment flow, a regulated process or an integration with a partner deserves precise detail. A standard settings screen may need only a few lines. Spend the effort where a misunderstanding would cost the most.

Frequently asked questions

Is an SRS still needed in agile projects?

A lighter, living SRS is useful in agile projects, especially for quality requirements, integrations and rules that span many stories. User stories alone rarely capture those well.

Who should write the SRS?

Usually a business analyst or product owner, with input from architects for interfaces and constraints and from QA for verifiability. The business confirms that it reflects their needs.

What is the difference between an SRS and a PRD?

A PRD describes what a release should achieve for users and how success will be measured. An SRS specifies system behaviour and quality requirements precisely enough to build and verify.

Should the SRS include design decisions?

Only where they are genuine constraints. Otherwise describe what the system must do and leave how to the design documents.

Sources and methodology

Facts in this article were checked against the sources below. Directory data (ratings, review counts, rate bands and team sizes) changes over time and is shown as published on the date accessed. Illustrative examples are labelled as such and are not quotes.

  1. ISO: ISO/IEC/IEEE 29148:2018 Systems and software engineering — Life cycle processes — Requirements engineering — Standard describing requirements engineering processes, SRS content and characteristics of well-formed requirements
  2. AltexSoft: How to Write Software Requirements Specifications — Reviewed as a baseline; covers best practices and tools, without a standards reference or a worked traceability example

Need an SRS your team and vendors can rely on?

Share your current requirements, however rough. We will help you turn them into a specification with testable requirements and clear acceptance criteria.