














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















Why Bother with a Requirements Document?
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
respect the boundary between the statement of requirements and how requirements are implemented. Design is the responsibility of the development team they should be free to choose the most appropriate way to satisfy all aspects of the requirements – features, performance, usability, etc. Usually the most appropriate way is the most simple way but sometimes other considerations may affect design decisions – such as opportunities for design or code reuse, for example.
Ë Requirements document is a written statement.
The requirements document is not a collection of notes and Post-It’s, e-mail discussions, or accumulated knowledge in someone’s head. They all are useful as supporting information but they cannot be distributed easily for review or verified.
You can give a written statement to other people to read and discuss. The document can serve as the basis for an agreement between you and your customers and it can be used by the developers and testers to implement the application and verify that it meets the original agreement. There are many great things you can do with a written statement.
Why Bother with a Requirements Document?
The answer is (or ought to be) pretty obvious: if you haven’t written down what the application is supposed to do, how will you know what to develop and how will you manage your customers' expectations?
Obvious though the need may seem, you often will have to preach the gospel of requirements documentation far and wide in your organization unless your company already follows mature development practices. Even if your IS organization does not need convincing, your customers (either internal or external) may wonder if you are wasting their time and money writing a requirements document when you really should be coding!
Ë The main purpose of a requirements document is to serve as an agreement between the developers and the customers on what the application will do.
In many cases this agreement is enforced via a legally binding contract. Even if this is not the case for your application, I strongly recommend you view the requirements document as a contract between you and your customers. Moreover, you should strive to instill the same attitude among your customers. If everyone treats the requirements document as a software development contract, all parties are more likely to have common expectations for the application – a very necessary thing for your project to succeed.
The requirements document brings the following additional benefits:
Do I Have to Write a Requirements Document?
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
Do I Have to Write a Requirements Document?
In case the previous section did not quite convince you that you need a requirements document for your next application, this section offers a simple test that will tell you if you must write a requirements document or you can “wing it”.
It is true that in some cases you can get away with not having a formal requirements document: if your application is small enough to be developed by a single person and the user population is also very small (a few people or a single workgroup). When this is the case, it is possible to achieve a common understanding of what the application will do without committing the knowledge to paper. In all other cases you really need a written requirements document.
Ë You must have a requirements document if any of the following is true for your application:
Who Uses the Requirements Document and Why?
There are many distinct roles in each software development project. While the same person often plays more than one role on a given project, it is most useful to consider how every role on the project uses the requirements document.
Below I list the project roles and the reasons for each role to use the requirements document. Remember that each of these roles uses the document in a different way; indeed some may use only some parts of the document. When we discuss the structure of the requirements document in later sections I will point out which roles primarily use each section of the document.
Role in a Software Development Project
Reason for Using the Requirements Document Development Project Leader ♦^ Scope the project; divide the project in phases ♦ Obtain agreements from the business expert, project sponsor, and the development manager on the scope and schedule for phases ♦ Track development progress Requirements Analyst ♦^ Elicit and document business requirements ♦ Test the application against the requirements
General Principles in Writing a Requirements Document
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
even know it but they apply the Least Work Principle when they leave their desk messy.
This is how the Least Work Principle applies to writing requirements documents.
Ë Tailor the structure and the level of detail in your requirements document to the nature of the application.
You need a detailed document for:
If none of the above is true for your application you need a brief requirements document.
By consciously adhering to this principle you will be preserving not only your own sanity but also the sanity of everyone who uses the document.
Iterative approach to writing software is widely accepted but it applies to writing the requirements document just as well. Here is how it works:
Since you approach your work in iterations, you always have a version of the entire requirements document. You can talk about your project to anyone at any time and be able to disseminate information and collect information a lot more efficiently. Also, you always know where the holes are and what to do next.
When you are collecting requirements it is very important to verify all of the facts by interviewing customers with differing points of view – users and management; users in different parts of the organization; etc. This does not mean you should not believe your sources. But you always need to remember that different people in the same position and especially people in different positions have a different view of the business needs and business practices as far as your application is concerned.
General Principles in Writing a Requirements Document
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
If your users are in divisions that use different business practices (as is often the case for companies with offices in different countries), you must get the information from all divisions that will use your application.
We already said that the main purpose of the requirements document is to serve as a contract between you and your customer about what is to be done. This means you are writing the requirements document to be read and understood by others, not just yourself. You are responsible for making it easy to read and absorb the document.
Ë Write simply.
I do not presume to teach you how to write technical documents (I am as likely as the next “techie” to write dense documents filled with jargon). I simply list below some of the “tricks of the trade” that generally help in making the document more readable.
Ë Partition the requirements document into several when necessary.
For large and/or complex applications it is often convenient to split the requirements document into two or more documents. For example, if your application interacts with a legacy system, you may want to put the legacy integration requirements into a separate document because they tend to be lengthy, very technical, and are weakly related to the rest of the requirements. If your application requires elaborate security and/or auditing features you may want to pull those requirements into a separate document. User Interface, and external application interfaces are examples of potential separate requirements documents.
Part I – Application Overview
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
Part I – Application Overview
Ë First answer the question: Why are we doing this?
Part I – Application Overview
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
Part II – Functional Requirements
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
(^1) If you are using use cases to express functional requirements you also need to remember to address the issues listed
below.
Part II – Functional Requirements
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
Part III – Appendices
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
Who Needs What? Summary of Purpose and Usage of the Sections of the Requirements Document
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
Who Needs What? Summary of Purpose and Usage of the
Sections of the Requirements Document
This summary lists all sections of the requirements document described so far. For each section the table contains the main purpose of the section, whether you must include this section in the document, which project roles will use it, and whether you should include it in a summary document whenever you produce one.
Obviously, the requirements analyst and the development project leader use all sections of the document. For the sake of brevity I omitted these two roles from the lists below.
Part I – Overview
Section Purpose Requ ired?
Project Roles Who Use It Include in Summary? Objectives State the commonly accepted objectives of the project.
Yes! All roles Yes!
Business Process
Describe the business process and how your application will be used in this context.
Yes All roles Yes
User Roles and Responsibilities
Describe who the users are and how the system fits into what they do.
Yes development team members, business expert, QA specialist, user documentation specialist, maintenance team members
Yes
Interactions with Other Systems
Describe how your application relates to other existing systems.
Yes development team members, development manager, project sponsor, business expert, QA specialist, user documentation specialist, maintenance team members
Yes
Replacement of Legacy Systems
Describe the bootstrapping required for production.
Yes development team members, development manager (summary only), project sponsor (summary only), business expert, QA specialist, legacy support specialist, maintenance team members
Yes
Production Rollout Considerations
Describe the strategy for production rollout.
Yes development team members, development manager, project sponsor, business expert, QA specialist, legacy support specialist, maintenance team members
Yes
Reflecting Changes in Requirements
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
Of course, while you were writing the document, you discussed parts of it with others and showed them some excerpts. You were planning on showing them excerpts and drafts, weren't you? Yet there comes a time when a lot of people must bite the bullet and read a document which by now is a couple dozen pages long. A section earlier in this paper summarized which groups of people need to read each section.
Here are some of the techniques that may help you to get people to read what they must:
You will need to wage this information dissemination campaign several times during the project. The most notable such milestones are:
Reflecting Changes in Requirements
In a properly run project there is a time when the requirements are signed off by the development manager and the customer. But let that not fool you: requirements will continue to change after this sign-off, most likely, right up to the system acceptance testing or even up to the system deployment. Yet the
Documenting Requests for Enhancements
By: Tanya Berezin Document: Writing a Requirements Document Modified: June 14, 1999 File Name: C:\My Documents\PROJECTS\BUS.DEV\Requirements\ReqsDoc.CH.rtf
requirements document still is the contract between you and the customer on what the system will do, so it must reflect the changes.
Ë You must continue to update the document as the requirements evolve.
As you continue to update the document (either before or after the sign off), you need to keep track of how it changes over time. Often the changes in requirements reflect changes in business needs or in your understanding of business needs. Recording them will help you understand the business and the customers better. Recording the changes also documents them for everyone to see so you can always point to the document when someone begins to wonder why his favorite feature is not there.
You should use your discretion in deciding how detailed the tracking should be (remember the Least Work Principle?). At a minimum, you should keep an archive of the versions of the document that were distributed to a wide audience, for example, at the milestones listed in the previous section.
In addition you should maintain a revision history at least for major requirements. If the requirements change dramatically between the conception of the project and the requirements sign off, you should consider including a separate section that describes the major changes and reasons for them.
Documenting Requests for Enhancements
There does come a time when the requirements for the initial release of your application are frozen. Usually it happens after the system acceptance test which is the last chance for the users to lobby for some changes to be introduced in the upcoming release.
At this time you need to begin maintaining the list of requested enhancements. Below is a template for tracking requests for enhancements.
Date Enhancement Requested by
Notes Priority Release No/ Status
If the enhancements are very substantial, you may consider writing a full- fledged requirements document for the new release.
In addition to documenting major enhancements I strongly recommend using an off-the-shelf defect tracking system for cataloging bugs and minor enhancements as soon as your application begins the QA process. In some organizations this will be the responsibility of the QA group, in others the project leader or the requirements analyst will perform this task.