Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Managing Software Requirements the Agile Way
Managing Software Requirements the Agile Way

Managing Software Requirements the Agile Way: Bridge the gap between software requirements and executable specifications to deliver successful projects

By Fred Heath
$26.99 $17.99
Book Aug 2020 214 pages 1st Edition
eBook
$26.99 $17.99
Print
$38.99
Subscription
$15.99 Monthly
eBook
$26.99 $17.99
Print
$38.99
Subscription
$15.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Aug 14, 2020
Length 214 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781800206465
Category :
Concepts :
Table of content icon View table of contents Preview book icon Preview Book

Managing Software Requirements the Agile Way

Chapter 2: Impact Mapping and Behavior-Driven Development

As well as the initial capturing of requirements, as system builders, we also need to deal with changes in requirements. A project's requirements constantly evolve, and we need to react to each stage of their evolution in two steps. The first is to correctly understand what is changing in the requirements. The second is to act on that new information in a way that helps reflect these changes and that influences the design and implementation of our system. To achieve this, we need to have a model that is a meaningful representation of our requirements.

In the previous chapter, we began to explore some of the entities within the requirements domain, namely goals and stakeholders. In this chapter, we'll expand our domain knowledge to capabilities and features and learn how to represent these four domain entities in an impact map. An impact map containing all the goals, stakeholders, capabilities, and features for our...

Modeling requirements with impact maps

In Chapter 1, The Requirements Domain, we learned how to identify stakeholders and goals. This is a crucial step in our analysis process, but in order to store and share our analytical findings, we must be able to represent these entities and their associations in a simple yet understandable manner. In other words, we want to model our requirement entities, and a great way of doing that is by using impact maps.

Introduction to impact mapping

Back in 2012, Gojko Adjiz defined the concept of impact maps, a technique that he evolved from UX-based effect-mapping methods in order to improve communication, collaboration, and interaction in teams and organizations.

Simply put, an impact map is a tree graph with four levels, where each level of the tree represents an answer to some fundamental questions about our system:

  • Why are we building the system?
  • Who benefits from it?
  • How can the stakeholders achieve their goals?
  • ...

Identifying capabilities and features

In Chapter 1, The Requirements Domain, we identified two of the main entities in the requirements domain: stakeholders and goals. In the previous section about impact mapping, we saw how these entities slot perfectly into an impact map. It's time now to look at the other two main entities that constitute the requirements domain and how they are all represented within an impact map.

In the Introduction to impact mapping section earlier in this chapter, we saw how the third and fourth levels of an impact map correspond to the business and system impacts of a stakeholder's effort to accomplish their goal, respectively. We shall define the business impact as a capability. A capability is a stakeholder's required ability to do something with our system in order to reach their goal. We shall define the system impact as a feature. A feature is a system functionality or behavior required in order to support a capability. Let's now...

Introducing BDD

In this section, we will be introduced to BDD, as it forms an essential part of the methodology described in this book. BDD was first introduced as a concept by Dan North back in 2006 (refer to Further reading link #2), as a way to improve communication and collaboration and to facilitate behavior-based automated testing. BDD is often referred to as an outside-in development methodology, as it focuses on system behavior required by the stakeholders as the driving mechanism for developing software. This well-defined system behavior is referred to as a feature in BDD parlance.

Since North's original article, BDD has matured and evolved and now has a rich ecosystem supporting it, with tools such as Cucumber, SpecFlow, and JBehave appearing in many a developer's tool-belt. Gojko Adjiz (yes, him again) helped solidify BDD principles in his book Specification by Example (refer to Further reading link #4). As a result, some people actually use the terms BDD and...

Knowing the difference between functional and non-functional requirements

Let's now take a look at the main type of requirements we are going to encounter and how we will be dealing with them. In the use cases and examples we have used so far, we have encountered requirements that influence what the system should do or how it should behave. In our pizza example, we talked about the actors selecting toppings for the pizza, choosing a delivery slot, and other such functionalities or behaviors. These are commonly known as functional requirements and we've already seen how we can represent these in a requirements model by identifying goals, stakeholders, capabilities, and features. But let's now consider some different requirements that don't focus on interactions between the system and its actors but on internal system operations instead: Non-Functional Requirements (NFRs).

Let's suppose that the pizza company wants our system to display all 50 available toppings...

Summary

In this chapter, we defined and distilled two more requirement domain entities: capabilities and features. We learned how to use them alongside goals and stakeholders in order to model our requirements in a requirements model, using impact mapping. Knowing what these four entities are about and how they are related is the first step in the requirements management workflow that we'll be detailing in this book. We already started exploring the mental process we'll be using to analyze requirements and break them down into these four entities. We'll be delving in greater detail into how this mental process works in Chapter 5, Discovering and Analyzing Requirements, in the Discovering Requirements section, where we will also be applying effective techniques to help us discover and analyze requirements.

This chapter also introduced BDD. BDD is what we do after we have discovered and analyzed our requirements. Specifically, BDD will help us refine our requirements...

Further reading

  1. Gojko Adzic, Impact Mapping: Making a Big Impact with Software Products and Projects, ISBN-10: 0955683645
  2. Dan North, Introducing BDD: https://dannorth.net/introducing-bdd
  3. John Ferguson Smart, BDD in Action: Behavior-driven development for the whole software lifecycle, Manning Publications, 1st edition, ISBN-10: 161729165X
  4. Gojko Adzic, Specification by Example: How Successful Teams Deliver the Right Software, Manning Publications, 1st edition, ISBN-10: 1617290084

    Mike Cohn, User Stories: https://www.mountaingoatsoftware.com/agile/user-stories

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn how to communicate with a project’s stakeholders to elicit software requirements
  • Deal every phase of the requirement life cycle with pragmatic methods and techniques
  • Manage the software development process and deliver verified requirements using Scrum and Kanban

Description

Difficulty in accurately capturing and managing requirements is the most common cause of software project failure. Learning how to analyze and model requirements and produce specifications that are connected to working code is the single most fundamental step that you can take toward project success. This book focuses on a delineated and structured methodology that will help you analyze requirements and write comprehensive, verifiable specifications. You'll start by learning about the different entities in the requirements domain and how to discover them based on customer input. You’ll then explore tried-and-tested methods such as impact mapping and behavior-driven development (BDD), along with new techniques such as D3 and feature-first development. This book takes you through the process of modeling customer requirements as impact maps and writing them as executable specifications. You’ll also understand how to organize and prioritize project tasks using Agile frameworks, such as Kanban and Scrum, and verify specifications against the delivered code. Finally, you'll see how to start implementing the requirements management methodology in a real-life scenario. By the end of this book, you'll be able to model and manage requirements to create executable specifications that will help you deliver successful software projects.

What you will learn

Kick-start the requirements-gathering and analysis process in your first meeting with the client Accurately define system behavior as features Model and describe requirement entities using Impact Mapping and BDD Create a feature-based product backlog and use it to drive software development Write verification code to turn features into executable specifications Deliver the right software and respond to change using either Scrum or Kanban Choose appropriate software tools to provide transparency and traceability to your clients

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Aug 14, 2020
Length 214 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781800206465
Category :
Concepts :

Table of Contents

12 Chapters
Preface Chevron down icon Chevron up icon
Chapter 1: The Requirements Domain Chevron down icon Chevron up icon
Chapter 2: Impact Mapping and Behavior-Driven Development Chevron down icon Chevron up icon
Chapter 3: Writing Fantastic Features with the Gherkin Language Chevron down icon Chevron up icon
Chapter 4: Crafting Features Using Principles and Patterns Chevron down icon Chevron up icon
Chapter 5: Discovering and Analyzing Requirements Chevron down icon Chevron up icon
Chapter 6: Organizing Requirements Chevron down icon Chevron up icon
Chapter 7: Feature-First Development Chevron down icon Chevron up icon
Chapter 8: Creating Automated Verification Code Chevron down icon Chevron up icon
Chapter 9: The Requirements Life Cycle Chevron down icon Chevron up icon
Chapter 10: Use Case: The Camford University Paper Publishing System Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.