customer requirements developer requirements business
play

Customer requirements Developer requirements Business - PowerPoint PPT Presentation

Customer requirements Developer requirements Business requirements Specification ELICITATION PRACTICES Quality standards IEEE 830 Companies make up their own


  1. Customer ¡requirements ¡ Developer ¡requirements ¡ Business ¡requirements ¡ Specification ¡ ELICITATION ¡PRACTICES ¡ Quality ¡standards ¡ IEEE ¡830 ¡ Companies ¡make ¡up ¡their ¡own ¡ Interviews ¡ ¡ Actor ¡shall ¡Desire ¡ FR ¡ stuff! ¡ Customer ¡meetings ¡ ¡ Use ¡case ¡standards ¡ ¡ Brainstorming ¡sessions ¡ ¡ Requirements ¡ Natlang ¡vs ¡Structured ¡Natlang ¡ ¡ Prototyping ¡ ¡ ETC. ¡ NFR ¡ ETC. ¡ ¡ Internal ¡requirements ¡ System ¡requirements ¡ ETC! ¡

  2. At ¡a ¡generic ¡company ¡  You: ¡Do ¡you ¡have ¡Requirements? ¡  Company: ¡Reequireeements? ¡  Company: ¡AH! ¡You ¡mean ¡documentation ¡of ¡customer ¡needs ¡and ¡ features… ¡  Company: ¡Aah, ¡yes… ¡No ¡we ¡don’t ¡have ¡that. ¡  You: ¡????? ¡  Company: ¡But ¡we ¡write ¡stuff ¡down ¡on ¡powerpoint ¡slides ¡in ¡common ¡ language ¡and ¡then ¡use ¡that ¡for ¡design ¡development ¡etc. ¡  You: ¡So ¡you ¡have ¡requirements? ¡  Company: ¡I ¡wouldn’t ¡go ¡that ¡far ¡as ¡to ¡call ¡them ¡that… ¡*chuckle* ¡

  3. Dev ¡team ¡1 ¡ Dev ¡team ¡2 ¡ Dev ¡team ¡3 ¡ Saab ¡ Ericsson ¡ What ¡you ¡will ¡learn… ¡ Requirements ¡engineering ¡

  4. From ¡last ¡week. ¡  Write ¡in ¡active ¡voice: ¡  Preferably ¡Shall ¡not ¡Should. ¡I.e. ¡The ¡button ¡shall ¡be ¡red. ¡  Domain ¡dependent! ¡  Be ¡consistent, ¡important ¡for ¡readability. ¡

  5. Quality ¡of ¡Requirements? ¡  How ¡do ¡we ¡assess ¡if ¡a ¡Requirement ¡or ¡a ¡set ¡of ¡Requirements, ¡ i.e. ¡a ¡SRS, ¡is ¡of ¡high ¡quality? ¡  Quality ¡attributes! ¡  A ¡set ¡of ¡aspects ¡to ¡consider ¡when ¡writing ¡requirements, ¡or, ¡  A ¡set ¡of ¡requirements, ¡i.e. ¡an ¡SRS. ¡  The ¡attributes ¡are ¡not ¡mutually ¡exclusive! ¡Davis ¡book ¡is ¡a ¡bit ¡ dangerous. ¡

  6. Which ¡are ¡the ¡Quality ¡aspects ¡for ¡ a ¡Requirement? ¡  According ¡to ¡Davis ¡book ¡they ¡are: ¡  Correct ¡  Unambiguous ¡ Requirement ¡  Verifiable ¡  Traceable ¡  Achievable ¡  Annotated ¡  Complete ¡ Require  Consistent ¡ Require ment ¡ Require  Other ¡ ment ¡ Require ment ¡ ment ¡

  7. Which ¡are ¡the ¡aspects ¡for ¡an ¡SRS? ¡  According ¡to ¡the ¡IEEE ¡830 ¡standard ¡that ¡we ¡will ¡use ¡in ¡this ¡ course, ¡the ¡quality ¡attributes ¡of ¡an ¡SRS ¡are: ¡  Correct ¡  Unambiguous ¡  Complete ¡  Consistent ¡  Ranked ¡for ¡importance ¡and/or ¡stability ¡  Verifiable ¡  Modifiable ¡  Traceable ¡

  8. Correct? ¡  A ¡requirement ¡is ¡correct ¡  A ¡requirements ¡ if ¡it ¡is ¡valid, ¡e.g. ¡a ¡ specification ¡is ¡correct ¡if ¡ property ¡that ¡should ¡ every ¡requirement ¡in ¡the ¡ actually ¡be ¡in ¡the ¡system. ¡ specification ¡should ¡be ¡in ¡ the ¡system. ¡  Example ¡(Safety ¡critical ¡  Examples ¡ system) ¡  The ¡text ¡on ¡the ¡start ¡  The ¡system ¡shall ¡warn ¡ screen ¡shall ¡read: ¡“All ¡ the ¡user ¡if ¡radar ¡fails. ¡ your ¡base ¡are ¡belong ¡to ¡  The ¡system ¡shall ¡allow ¡ us”. ¡ the ¡user ¡to ¡play ¡Solitaire. ¡  The ¡sky ¡shall ¡be ¡red. ¡

  9. Unambiguous? ¡  A ¡requirement ¡is ¡  A ¡requirements ¡ unambiguous ¡if ¡it ¡has ¡ specification ¡is ¡ only ¡one ¡interpretation. ¡ unambiguous ¡if ¡all ¡its ¡ requirements ¡are ¡ unambiguous. ¡  Example: ¡  Example: ¡  The ¡start ¡icon ¡must ¡look ¡  Build ¡a ¡system, ¡any ¡ exactly ¡like ¡figure ¡1. ¡ system… ¡derp! ¡  Figure ¡1: ¡ (Impossible ¡to ¡exemplify!) ¡

  10. Complete? ¡  A ¡requirement ¡does ¡NOT ¡  A ¡requirements ¡ have ¡this ¡attribute! ¡A ¡ specification ¡is ¡complete ¡ requirement ¡cannot ¡be ¡ if ¡it ¡contains ¡all ¡the ¡ complete! ¡ONLY ¡FOR ¡ requirements ¡a ¡customer ¡ SPECIFICATIONS! ¡ wants ¡in ¡the ¡ corresponding ¡release. ¡  Think ¡about ¡what ¡it ¡ means! ¡ ¡  Requirements ¡are ¡in ¡ constant ¡flux ¡ System ¡v1.1 ¡  Customers ¡have ¡no ¡clue ¡ what ¡they ¡want ¡

  11. Consistent? ¡  A ¡requirement ¡does ¡not ¡  A ¡requirements ¡ have ¡this ¡attribute! ¡ specification ¡is ¡consistent ¡if ¡ none ¡of ¡the ¡requirements ¡ conflict ¡with ¡another ¡ requirement, ¡a ¡set ¡of ¡  BAD ¡example: ¡ requirements ¡or ¡a ¡  The ¡start ¡button ¡must ¡be ¡ previously ¡approved ¡ blue ¡and ¡red… ¡hmm… ¡ document. ¡ Purple? ¡  Obvious ¡Example: ¡  The ¡start ¡button ¡shall ¡be ¡ red. ¡  The ¡start ¡button ¡shall ¡be ¡ blue. ¡

  12. Ranked ¡for ¡importance ¡and/or ¡ stability? ¡  A ¡requirement ¡is ¡ranked ¡if ¡it ¡  A ¡requirements ¡ includes ¡a ¡measure ¡of ¡its ¡ specification ¡is ¡ranked ¡if ¡all ¡ importance ¡and/or ¡stability. ¡ requirements ¡have ¡an ¡ identifier ¡to ¡indicate ¡either ¡  Numbering ¡system. ¡ stability ¡or ¡importance. ¡  Req ¡1 ¡> ¡Req ¡2 ¡> ¡Req ¡n ¡  P ¡– ¡Priority, ¡S ¡– ¡Stability ¡  Necessity. ¡  Example: ¡  Essential, ¡Conditional ¡or ¡  P1, ¡S∞, ¡The ¡system ¡shall… ¡ Optional ¡(Example!) ¡  P∞, ¡S1, ¡The ¡system ¡shall… ¡  Stability ¡(Volatility) ¡  How ¡many ¡times ¡is ¡the ¡ requirements ¡expected ¡to ¡ change? ¡

  13. Verifiable? ¡  A ¡requirement ¡is ¡verifiable ¡  A ¡requirements ¡ if ¡there ¡exists ¡some ¡finite ¡ specification ¡is ¡verifiable ¡if ¡ cost-­‑effective ¡way ¡of ¡ all ¡requirements ¡in ¡the ¡ testing ¡that ¡the ¡system ¡as ¡ specification ¡are ¡verifiable. ¡ built ¡fulfills ¡the ¡requirement ¡  Better ¡example ¡(i.e. ¡not ¡ to ¡a ¡degree ¡that ¡satisfies ¡all ¡ good) ¡ relevant ¡parties. ¡  Output ¡A ¡shall ¡be ¡produced ¡  Bad ¡Example ¡ by ¡the ¡system ¡20 ¡seconds ¡ after ¡event ¡X. ¡  The ¡system ¡shall ¡ continuously ¡be ¡controlled ¡  Testable, ¡includes ¡ by ¡some ¡buttons. ¡ quantities. ¡If ¡A ¡and ¡X ¡are ¡  How ¡do ¡we ¡make ¡a ¡test ¡for ¡ also ¡well ¡defined ¡everyone ¡ that? ¡Ambiguity ¡equals ¡not ¡ will ¡live ¡happily ¡ever ¡after. ¡ verifiable. ¡

  14. Modifiable? ¡  A ¡requirement ¡is ¡  An ¡SRS ¡is ¡modifiable ¡if ¡its ¡ modifiable ¡if ¡it ¡can ¡easily ¡ structure ¡and ¡style ¡are ¡ be ¡modified ¡without ¡ such ¡that ¡changes ¡can ¡be ¡ affecting ¡the ¡design ¡or ¡ done ¡easily ¡to ¡the ¡ structure ¡of ¡the ¡ requirements ¡whilst ¡ specification. ¡ keeping ¡the ¡ completeness ¡and ¡  Hence! ¡Primarily ¡a ¡ consistency ¡of ¡the ¡ specification ¡attribute! ¡ specification, ¡its ¡ structure ¡and ¡style. ¡  One ¡template, ¡i.e. ¡The ¡  Coherence ¡ [actor] ¡shall ¡[action ¡verb] ¡  No ¡Redundancy ¡ [observable ¡result] ¡  Separate ¡requirements ¡ Req ¡ Req ¡ 2.0 ¡ 1.0 ¡

  15. Traceable? ¡  A ¡requirement ¡is ¡traceable ¡  A ¡requirements ¡ if ¡it ¡is ¡backwards ¡and ¡ specification ¡is ¡traceable ¡if ¡ forwards ¡traceable. ¡ the ¡origin ¡of ¡each ¡ requirement ¡is ¡clear ¡and ¡it ¡  Backward: ¡Where ¡did ¡it ¡ facilitates ¡the ¡referencing ¡ come ¡from? ¡References ¡to ¡ of ¡each ¡requirement ¡in ¡ previous ¡sources. ¡ future ¡development. ¡  Forward: ¡What ¡spawned ¡ from ¡the ¡Req.? ¡Ways ¡of ¡ referencing ¡the ¡ requirement. ¡  Example: ¡ System ¡ Req ¡ Req ¡  Ref: ¡System ¡req ¡3.2 ¡ Spec ¡ Spec ¡1.0 ¡ Spec ¡2.0 ¡  Idnum: ¡F-­‑Req ¡5.6.2 ¡  Desc: ¡The ¡system ¡shall… ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend