Home > Articles

Essentials of Software Requirements

Best practices for requirements engineering to deliver superior value for both traditional and agile projects, in any application domain.

This chapter is from the book

Many years ago, I (Karl) would sometimes dive into writing a new program based on nothing more than an initial idea. I’d spend time coding, executing, fixing, and making a mess in my source code editor as I fumbled around, trying to get results. Eventually, I realized that the root of the problem was rushing to code without having an end point in mind—coding’s fun! Those frustrating experiences taught me the importance of thinking through some requirements—objectives, usage tasks, data elements, and more—before doing anything else. After I adjusted my process to understand my requirements first, I never again felt like a software project was out of control.

All projects have requirements. Some teams begin with crisply defined business objectives, other teams receive a rich description of the desired solution’s capabilities and characteristics, and still others start with only a fuzzy new product concept. Regardless of the starting point, all participants eventually must reach a shared understanding of what the team is supposed to deliver.

Some project participants aren’t very interested in requirements. Certain managers may claim they’re too busy to engage in requirements discussions. But then their expectations surface after the product has progressed to the point where major changes mean expensive rework. Some technical people might regard the time spent exploring and documenting requirements as a distraction from the real work of crafting code. However, a good set of requirements lets you answer some important—and universal—questions.

  • Why are we working on this?

  • Who are we trying to satisfy?

  • What are we trying to build?

  • What functionality do we implement first? Next? Maybe never?

  • How can we tell if our solution1 is good enough?

  • How do we know when we’re done?

This book describes the twenty most important practices that help software teams create a set of requirements to serve as the foundation for the subsequent development work. These practices broadly apply regardless of the type of product the team is creating or their development approach. Some software teams work not on discrete development projects but on existing products that demand ongoing modifications and new functionality. The people who are responsible for requirements work on product teams like those will find the practices in this book equally applicable to their work.

The requirements terminology differs between traditional (plan-driven or predictive) and agile (change-driven or adaptive) projects. Regardless of the terminology used, developers still need the same information to build the right solution correctly (Wiegers and Beatty, n.d.a). Some teams will perform certain practices iteratively, delivering value in small chunks. Others may do much of the requirements work early in the project because the problem is well understood. A startup that’s trying to assess its product’s market fit will focus on exploring ideas and approaches rather than trying to assemble a detailed specification. Whichever way you plan your development cycles, performing these twenty practices well can make the difference between delivering a solution that satisfies your stakeholders and creating one that does not.

Requirements Defined

Now that we’ve used the word requirement several times, we should define what we mean. A software team must deal with many types of requirements-related knowledge, and people will be confused if they lack a common understanding of them. Although it’s not fully inclusive, one useful definition of requirement comes from Ian Sommerville and Pete Sawyer (1997):

Requirements are … a specification of what should be implemented. They are descriptions of how the system should behave, or of a system property or attribute. They may be a constraint on the development process of the system.

This definition points out that requirements encompass multiple types of information. However, one aspect lacking from that definition is the concept of a requirement as a statement of a stakeholder need, which is the real starting point for all discussions about requirements.

Several classification schemas and models are in common use to describe various kinds of requirements information (Robertson and Robertson 2013, Wiegers and Beatty 2013, IIBA 2015). They generally agree but differ in some terminology details. In this book, we’ll use the model shown in Figure 1.1.

Figure 1.1 Connections between several types of requirements information and containers that store them. Solid lines mean “are stored in.” Dotted lines mean “are the origin of” or “influence.”

This model shows various categories of requirements information (ovals) as well as containers in which to store that information (rectangles). For simplicity, this book will refer to those containers as documents. They could just as well be spreadsheets, databases, requirements management tools, issue tracking tools, wikis, or a wall covered with sticky notes—whatever works for your team. The container itself is less important than the information it holds and how you choose to record, organize, and communicate that information.

Models like that in Figure 1.1 illustrate that there are many types of requirements information. This book uses the definitions in Table 1.1, which are broadly accepted in the requirements engineering and business analysis domains. Note that solution requirements encompass functional, nonfunctional, and data requirements (IIBA 2015). You’ll see examples of these various items in later chapters. This book uses the collective term requirements to refer to all of these types of information, whether your local terminology focuses on features, use cases, user stories, or anything else.

Table 1.1 Definitions of several types of requirements information

Type of information

Definition

Business requirement

Information that describes why the organization is undertaking the project, establishes business objectives, defines a product vision, and includes other direction-setting information. (See Practice #2, “Define business objectives.”)

Business rule

A directive that defines or restricts actions within an organization’s operations. A policy, regulation, law, or standard that leads to derived solution requirements that enforce or comply with it. (See Practice #16, “Identify and document business rules.”)

Constraint

A restriction imposed on the requirements, design, or implementation activities.

Data requirement

A definition of a data object or element that the system must manipulate, its composition and attributes, relationships among data objects, and their input and output formats. (See Practice #8, “Assess data concepts and relationships.”)

External interface requirement

A description of a connection between the solution being built and other elements of the world around it, including users, other software systems, hardware devices, and networks.

Functional requirement

A description of some behavior that the product will exhibit under specified circumstances.

Nonfunctional requirement

Most commonly refers to what is also known as a quality attribute requirement. Quality attributes describe various quality, service, or performance characteristics of the solution. (See Practice #9, “Elicit and evaluate quality attributes.”)

Solution requirement

A description of a capability or characteristic that the product being created must possess to satisfy certain user requirements and help achieve the project’s business objectives. Solution requirements include functional, nonfunctional, and data requirements, as well as manual operations.

System requirement

A description of a top-level capability or characteristic of a complex system that has multiple subsystems, often including both hardware and software elements. System requirements serve as the origin of derived software solution requirements.

User requirement

A description of a task or goal that a user wishes to accomplish with the solution. The International Institute of Business Analysis generalizes this category to “stakeholder requirements,” but in actuality, all requirements originate from some stakeholder (IIBA 2015). Here, we’re specifically referring to things the user needs to do and user-specific expectations the solution must satisfy. (See Practice #6, “Understand what users need to do with the solution.”)

The fact that the diagonal arrows in Figure 1.1 that lead from Business Requirements down to the Software Requirements Specification are all aligned is no accident. Developers do not directly implement business requirements or user requirements. They implement functional requirements, including those derived from other categories of requirements information. The goal is to implement the right set of functionality that lets users perform their tasks and satisfies their quality expectations, thereby (hopefully) achieving the project’s business requirements, within all imposed constraints. That “right set” of functional requirements comes from a foundation of well-understood business and user requirements.

Not every requirement will fit tidily into one or another of the categories in Table 1.1. Debating exactly what to call a specific statement is not important. What’s important is that the team recognizes the need, analyzes it, records it in an appropriate form and location, and builds whatever is necessary to satisfy it.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020