1 / 16

Capturing Requirements

Capturing Requirements. Questions to Ask about Requirements. Are the requirements correct? Consistent? Unambiguous? Complete? Feasible? Relevant? Testable? Traceable (in documentation)?. Requirement Scope. Expand to include what was overlooked (think in most general terms);

konane
Download Presentation

Capturing Requirements

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Capturing Requirements

  2. Questions to Ask about Requirements Are the requirements correct? Consistent? Unambiguous? Complete? Feasible? Relevant? Testable? Traceable (in documentation)?

  3. Requirement Scope Expand to include what was overlooked (think in most general terms); Contract to remove everything that is not needed / non-critical.

  4. Requirement Modeling Helps form a visual image of what goes into the project and produce detailed description of the process.

  5. Entity-Relationship Diagram (ERD) * Entities are the "things" about which we seek information. * Attributes are the data we collect about the entities. * Relationships provide the structure needed to draw information from multiple entities.

  6. Message Sequence Chart * Top Square: an entity * Horizontal Arrows: messages connecting entities in time; dashed indicates entity creation * Square Boxes on Lines: actions taken in respond to messages * Hexagonal Boxes: conditions / states * Solid Black Box: designates the end of definition, cross – entity destruction (end of execution) time

  7. Petri Nets State transition notation used to model concurrent events. Circles – places, activities, conditions Bars – transitions Arrows (arcs) – connect transitions with their input and output places Tokens – each arc can have a weight that specifies how many tokens are removed from arc’s input place and moved to its output place. Transition is enabled if its input places have enough tokens to accommodate arc weight.

  8. Petri Net Example Transitions: Borrow, Return, Withdraw Return Request, Withdraw Loan Request Tokens: Loan Request place has to have a token for Borrow and Withdraw Loan Request transitions to be enabled. Initiating a Loan Request transition moves a token from Loan Request place to OnLoan place provided that Avail place also has a token!

  9. Data-Flow Diagrams Parallel Lines: persistent data store Rectangles: actors providing data / receiving the results Ellipse: abstract / nested data flow diagram

  10. Requirements Document Scope: project purpose & scope including relevant benefits, objectives and goals. Background: background & rationale for development (i.e. before we were filling out the forms on paper and now we do it on computers, which saves time and boost accuracy). Essential Solution: prioritized core functionality. Environment: hardware & software environment intended for the solution. Implementation Outline (if any). Operational Assumptions: i.e. what makes system fail and what environmental changes cause requirement reevaluation.

  11. Technical Specification Spec is equivalent to the requirement document except that it reflects developer’s point of view and states the requirements in technical terms. Data Formats Defines Interfaces: inputs and outputs of all modules. Restates Functionality in terms of interface methods and their parameters, entity-relationship diagrams, state machines, UML, etc. Testable Quality requirements.

  12. Requirement Validation We must make sure that the requirements that we have written down accurately reflect stake holder's needs. How? We present the requirements to all the stake holders and cross-reference the responses to find out inconsistencies, ambiguities or omissions.

  13. Requirement Validation Means Walkthroughs Requirement reading Presentations Review meetings System models Business scenarios Simulation & prototypes

  14. Requirement Meetings Review stated goals and objectives Compare written requirements with goals & objectives Review the environment and interfaced among modules Review information flow, impose data constraints Evaluate risks and discuss alternatives Discuss testing plan Most faults arise from requirements errors!

  15. Requirement Verification We need to ensure that our technical specification corresponds to requirements document. How? We need to trace all entities and relationships that we modeled back to the requirement document. Tedious, but a must. For critical systems we must prove that the spec realized each and every function and satisfies all the imposed constraints. Thus we must computer-aided model checking tools to uncover conditions that would break the model, unreachable conditions and assumptions about the environment that when incorrect (or out of range) can result in faults.

  16. Individual Homework Produce requirement document for your part of the project. Produce technical specification. Choose appropriate modeling notation and produce requirement model (use UML or similar tools). Read Chapter 4.

More Related