Bookmarks

SRS — software requirements specification

A document that captures the requirements for a software product: functions, interfaces, quality attributes and constraints — stated so that they can be verified.

Also: software requirements spec, software requirements document

checked 9 Nov

All terms

The SRS is a working document for the team: the analyst collects in it everything the software must do, developers use it to design the system, testers write test cases from it, and the customer relies on it to accept the result. The standard for requirement structure and quality is ISO/IEC/IEEE 29148, which replaced IEEE 830 in 2011.

What it contains

SectionWhat it describes
Purpose and scopedocument goals, product boundaries, who the users are, constraints
Overall descriptionsystem context, user roles, assumptions and dependencies
Functional requirementswhat the system does: for each scenario, the input, processing and outcome
Quality attributesreliability, performance, security, usability — with measurable indicators
Interfacesinteraction with users, other systems and hardware
Constraintsplatform, language, standards, deadlines and laws the developer must follow

Requirement verifiability

Standard 29148 requires each individual requirement to be necessary, unambiguous and appropriate, and the set as a whole to be complete, consistent, feasible and verifiable. Verifiability matters most in practice: a requirement that cannot be checked by a test or at acceptance does not belong in an SRS.

Compare two versions of the same requirement:

  • “The system shall open search results quickly” — cannot be verified.
  • “Results for a saved search open within 2 seconds for 95% of requests” — can be checked with a test.

Where the term comes from

The shape of the SRS was set by IEEE 830, first published in 1984 and updated in 1998: it provided criteria for a good document, structure templates and examples of well-worded and poorly-worded requirements. ISO/IEC/IEEE 29148 replaced it in 2011, and the 2018 edition extended the rules from software to requirements in general.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • ТЗtechnical specification

    The technical specification is a contractual document covering the system as a whole: goals, boundaries, scope of work and acceptance; the SRS goes into more detail on the requirements for the software itself.

  • PRDproduct requirements document

    The PRD describes the product in terms of the market and business goals; the SRS, in terms of system behaviour and verification criteria.

In depth in the references

where the topic is covered in detail