Requirements Fundamentals

Requirements Fundamental 1

Requirements are not really about requirements.

Requirements exist. As soon as you have any business activity, you have business needs. Requirements are a description of what your solution must do to satisfy those needs. This means that requirements exist whether you discover them or not and whether you write them down or not. However, for any solution to succeed, you, the business analyst, must discover all its requirements.

That said, the requirements activity is not principally about writing requirements or stories (for the moment, we’ll treat these as equivalents). Instead, the critical part of the requirements activity is understanding your customer’s business problem. The art of requirements discovery is discovering the real problem and not an apparent one. Once you do that, you have the basis for building the solution that satisfies your customer’s needs.

“Business,” “business problem,” “problem space,” and “work” all mean whatever activity your customer is concerned with, be it commercial, scientific, academic, government, military, cloud, web, mobile app, or any other kind of activity, service, or consumer product.

Requirements Fundamental 2

If your solution does not have to satisfy a need and produce a desired outcome, then you can build anything.

However, if it is meant to satisfy a need, then you must understand that need in order to build the right solution.

The word “solution” might mean a software solution, but it also refers to holistic solutions that incorporate human activity, machines, AI, ready-made software, or any other mechanism.

We have found that the most useful solutions are those for which the business analysts and the solution builders have a correct understanding of what the solution is intended to accomplish. This understanding comes from an intimate knowledge of the work that your customer’s business does now. Additionally, you need to understand how that work should be carried out in the future.

We use the term “requirements” to refer to a description of a business need. The requirements specification can be written as a set of atomic requirements, stories, models, or some combination of these.

When these points are understood and agreed to, then the requirements discovery is about rapid exploration of the problem space to determine what is needed by the business to make the most beneficial improvements. The result of this is a specification of a solution that will bring about these improvements. You might write this specification as a set of atomic requirements, or you might prefer stories, or models (we shall discuss stories, models, and other requirements artifacts in subsequent chapters), or some combination that describes the functionality of the solution (what it will do) and the quality attributes of the product (how well it will do it). For the moment, let’s refer to these as the requirements. Without knowing the requirements, there is little chance that any solution emerging from the development project will be of much value. Apart from a few fortuitous accidents, solutions fail unless their requirements have been understood.

“ On two occasions I have been asked, ‘Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?’ I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. ”

—Charles Babbage, speaking about his Difference Engine, one of the early (about 1820) mechanical forerunners of the modern computer

This truth must emerge: You must come to the correct understanding of the requirements, and have your client agree to them; otherwise, your solution or your project will be seriously deficient.

Requirements Fundamental 3

Any solution must be beneficial for its customer.

The customer is the person or organization that is the ultimate possessor of the solution. This could be an organization that acquires the solution for its business, or an individual who buys the solution for work or another reason. The term “user” is used as an alternative to “customer,” as either is the ultimate possessor of the solution. The customer might pay for the development of the solution or might also buy (or be given) the solution.

A note on roles: The person most responsible for discovering and analyzing requirements we call a business analyst. The product owner manages and prioritizes the product backlog of requirements or stories to be developed. A developer, sometimes called the solution builder, is the one writing the software. For non-software solutions, other equivalent roles apply.

The customer pays for any disruption to the business that happens when the solution is deployed. On the other side of the ledger, the customer should receive a net value from your solution. To describe that relationship very simply, your customer is buying a benefit.

Images

Figure 1.1

Requirements are the root of everything. Good roots: good solution. Bad roots: bad solution.

Part of the role of the requirements discoverer is to determine what the customer values. In some cases, providing a small system that solves a small problem provides sufficient benefit for the customer to consider it valuable. In other cases (perhaps many others), finding a solution with more extensive capabilities provides a much greater value, but comes with a much higher price tag. The choice depends on what your customer values, and how much she values it.

Requirements Fundamental 4

There is an important difference between building a piece of software and solving a business problem.

Many software development projects concentrate solely on the software. This might seem reasonable—after all, most software projects manage to produce some software. However, concentrating almost exclusively on the software is a little like trying to build the Golden Gate Bridge by concentrating on steel. The software, if it is to be valuable to the customer, must solve the customer’s business problem.

We build an awful lot of software. Millions (if not billions) of lines of code are produced each year. Much of this code produces the wrong results—it simply does not solve the correct problem. And yet, this is not down to poor requirements, it is down to the project rushing into building a presumed solution without discovering the real requirements.

We cannot stress enough that software is there to solve a business problem. Clearly, then, any development effort needs to start with the problem, and not with a presumed solution.

Requirements Fundamental 5

Requirements do not have to be written in any particular way, but they have to be correctly understood.

It sometimes seems that the aim of the requirements activity is to produce the largest specification possible. It doesn’t seem to matter that very few readers can understand much of it, and that even fewer will read it. It appears that the requirements writers believe that their work will be appreciated in direct proportion to the magnitude of the specification.

The form of your requirements output (we shall talk later about storing the requirements in a repository) can be varied. But whatever form you choose, it must record clearly and accurately whatever has been decided and agreed. These written requirements must precisely transfer thoughts from the mind of the customer into the head of the developer, or the person selecting one of the available ready-made solutions.

You will find that when your requirements are in a written form, you and your stakeholders can see them and question them, all of which helps to make them precise. Later in this book we shall discuss different formats for your requirements, and additionally how you can make them unambiguous and easy to understand.

Requirements Fundamental 6

Your customer won’t always give you accurate information. Sometimes he just doesn’t know what he needs.

Requirements discovery must consider the difficulty stakeholders have when they are trying to describe what they need. It is no simple task to envisage a solution to the problem, particularly when the problem is not always completely understood. Given the complexity and scale of today’s businesses, it can be very difficult for individuals to understand all the appropriate parts of the business.

In this book we advocate the use of quick prototypes (sketches, process models, scenarios, simulations, etc.) as safe-to-fail experiments. We use them to rapidly explore the problem space. We know that when customers see and experiment with tangible diagrams and models, they are more able to articulate their problem.

The business analyst must perform a juggling act. In some cases she must record the customer’s request; in some cases she must persuade the customer that what is being asked for is not what is needed; in other cases she has to reengineer the customer’s presumed solution to find the real business problem; and in some cases she must come up with an innovation that is not what the customer asked for, but results in a better solution. In all cases, she should not believe everything she is told.

The tricky business of pronouns: We, the authors—one male, one female—think that constantly reading “he/she” and “his or hers” is jarring and disrupts the flow. Similarly, we think that using “they” instead of a gender pronoun is awkward and depersonalizing. So, we have opted to intersperse “he” and “she” randomly.

Requirements Fundamental 7

Good solutions do not come about by chance. There needs to be some kind of orderly process for developing them.

Any meaningful endeavor needs an orderly process. Random applications of steel and concrete do not produce buildings; there is a defined process for designing and erecting such structures. Similarly, there is a defined and systematic process for making movies. Your motorcar was designed and built using orderly processes, and your last airline flight was the result of a set of orderly processes that were followed verbatim (you hope). Even artistic endeavors, such as novels and paintings, have an orderly process that the artist follows.

These processes are not lockstep procedures where you mindlessly follow every instruction without question, in the prescribed sequence, without variation, ticking all the boxes as you go. Instead, orderly processes comprise a set of tasks that achieve the intended result, but leave the emphasis and degree of application to the person or team using the process.

In the next chapter, we show you the Volere 1 requirements process; an orderly process for discovering the requirements and determining the best solution for them. As we go through the book, we shall look in detail at the activities of the Volere process.

FOOTNOTE 1

Volere is a framework for discovering, communicating, and managing requirements at all levels and in all environments. It has been used and adapted over several decades in commercial, industrial, governmental, and academic environments. The intention is to provide business analysts with the appropriate degree of formality for their own situations.

Most importantly, the people who are active in the process must be able to see why different tasks within the process are important, and which tasks yield the best value for the requirements and development effort.

Requirements Fundamental 8

Requirements, if they are to be implemented successfully, must be justifiable, measurable, and testable.

Adding a justification to a requirement—the Rationale in the Volere format; the “So that” line of a story (more on these later)—means that you are displaying the value of that requirement. Adding a measurement (the Fit Criterion of the Volere format; the acceptance criterion in a story) means that your customer can tell you whether it is exactly what is needed. Additionally, the developers and testers of the solution can define test scenarios allowing them to ensure that it does indeed comply with its requirements, and thus contribute to solving the business problem.

Any requirement can be measured, even the softer look and feel or usability ones, as we’ll see later. It is safe to say that if you cannot find a measurement for a requirement, then it is not a requirement, but merely an idle thought.

Requirements Fundamental 9

You, the requirements discoverer, will change the way the customer thinks about his problem, either now or later.

When you come to understand the requirements, especially when they come from different stakeholders, you start to build prototypes and abstractions, and establish a vocabulary. When you present your prototypes and models of the business processes, when you work with the stakeholders to find the essence of the work, when you have clear and measurable requirements, and when you reflect your findings back to the stakeholders, it will change (for the better) their thinking about their business problem.

Once people have a better understanding of the real meaning of their requirements, they are likely to see ways of improving them. Part of your job is to help people, as early as possible, to understand and question their requirements so that they can help you to discover their problem, and what they need to solve it.