ReadySetGit/Use-Case-Format.md
William Sandner 45c9b866b7 GFM changes
2018-08-14 19:39:17 +02:00

4.7 KiB

<html> <head> </head> Overview Project Plan Workflows Current <!-- Markdown content here --> <h1 id="user-content-srssrs--use-case-suiteuse-case-suite--use-case-format" dir="auto"><a href="/Suborbital-Systems/ReadySetGit/src/commit/24b358f205606dd7bf7922e3cbf0b88a4314dde1/SRS">SRS</a> &gt; <a href="/Suborbital-Systems/ReadySetGit/src/commit/24b358f205606dd7bf7922e3cbf0b88a4314dde1/Use-Case-Suite">Use Case Suite</a> &gt; Use Case Format</h1> <hr> <p dir="auto"><strong>Process impact:</strong> This reference page documents the format of use cases and gives tips on writing use cases. You can copy and paste the sample use case into your <a href="/Suborbital-Systems/ReadySetGit/src/commit/24b358f205606dd7bf7922e3cbf0b88a4314dde1/use-cases">Use Cases</a> document. This file itself should not be edited to hold specific use cases.</p> <p dir="auto"><em>TODO: Use this template once in your <a href="/Suborbital-Systems/ReadySetGit/src/commit/24b358f205606dd7bf7922e3cbf0b88a4314dde1/use-cases">Use Cases</a> document. Anything you mention here will apply to all use cases in that file.</em></p> <hr> <h3 id="user-content-aspects-common-to-all-use-cases" dir="auto">Aspects common to all use cases</h3> <h4 id="user-content-direct-actors" dir="auto">Direct Actors:</h4> <ul dir="auto"> <li>::User: end-user in any role</li> <li>::System: The system being built</li> <li>::When actors are not listed, assume User is doing it.</li> <li>::Items beginning with &quot;see&quot; indicate that System has presented a new screen.</li> </ul> <h4 id="user-content-stakeholders" dir="auto">Stakeholders:</h4> <p dir="auto">::The user who is entering the data, and those who will read it</p> <h4 id="user-content-prereq" dir="auto">Prereq:</h4> <p dir="auto">::Project is set up</p> <p dir="auto"><em>TODO: Copy and paste this use case template as many times as needed in your <a href="/Suborbital-Systems/ReadySetGit/src/commit/24b358f205606dd7bf7922e3cbf0b88a4314dde1/use-cases.html">Use Cases</a> document. Only use those fields that are not the same as the default for all use cases.</em></p> <hr> <h3 id="user-content-uc-00-use-case-name" dir="auto">UC-00: USE CASE NAME</h3> <p dir="auto"><strong>Summary:</strong></p> <p dir="auto">::1-3 SENTENCES</p> <p dir="auto"><strong>Priority:</strong></p> <p dir="auto">::Essential | Expected | Desired | Optional</p> <p dir="auto"><strong>Use Frequency:</strong></p> <p dir="auto">::Always | Often | Sometimes | Rarely | Once</p> <p dir="auto"><strong>Direct Actors:</strong></p> <p dir="auto">::ACTOR1, ACTOR2, ACTOR3</p> <p dir="auto"><strong>Stakeholders:</strong></p> <p dir="auto">::STAKEHOLDER, STAKEHOLDER, STAKEHOLDER</p> <p dir="auto"><strong>Prereq:</strong></p> <ul dir="auto"> <li>::PRECONDITION</li> <li>::PRECONDITION</li> <li>::PRECONDITION</li> </ul> <p dir="auto"><strong>Main Success Scenario:</strong></p> <ul dir="auto"> <li>::STEP</li> <li>::STEP</li> <li>::STEP</li> </ul> <p dir="auto"><strong>Alternative Scenario Extensions:</strong></p> <ul dir="auto"> <li> <p dir="auto">::If CONDITION, then ALTERNATIVE STEPS.</p> <ul dir="auto"> <li>::NOTES or DETAILS.</li> </ul> </li> <li> <p dir="auto">::If CONDITION, then ALTERNATIVE STEPS.</p> <ul dir="auto"> <li>::NOTES or DETAILS.</li> </ul> </li> </ul> <p dir="auto"><strong>Notes and Questions</strong></p> <ul dir="auto"> <li>::NOTE</li> <li>::NOTE</li> <li>::QUESTION</li> <li>::QUESTION</li> </ul> <hr> <h3 id="user-content-format-of-use-case-steps" dir="auto">Format of Use Case Steps</h3> <p dir="auto">Try to start each step with one of these action words:</p> <h4 id="user-content-login-as-role-or-user" dir="auto">login [as ROLE or USER]</h4> <p dir="auto">Log into the system with a given user or a user of the given type. Usually usually only stated explicitly when the test case involves a workflow between different users.</p> <h4 id="user-content-visit-location" dir="auto">visit LOCATION</h4> <p dir="auto">Visit a page or GUI window. State the user's intention, don't say too much about UI choices that could change later. E.g., WRONG: &quot;Press the 'Advanced...' button on the File | Page Setup dialog&quot;. RIGHT: &quot;Visit the page margin configuration dialog&quot;.</p> <h4 id="user-content-enter-information" dir="auto">enter INFORMATION</h4> <p dir="auto">Fill in specific information. Try to state the information in some detail. E.g., WRONG: &quot;Enter customer information.&quot; RIGHT: &quot;Enter customer shipping address and discount code.&quot; Don't commit to details of a particular UI, i.e., don't name specific UI fields that might change later.</p> <h4 id="user-content-command" dir="auto">COMMAND</h4> <p dir="auto">Describe a command that the user can tell the system to do. State the user's intent, not the label on a particular UI widget. This will usually be followed by a &quot;see&quot; step where the user sees a confirmation of their action. E.g., WRONG: &quot;Control-P, OK&quot;. RIGHT: &quot;Print the current document with default settings&quot;.</p> <h4 id="user-content-see-content" dir="auto">see CONTENT</h4> <p dir="auto">The user should see the specified information on the currently presented web page or GUI window. Try to be specific about the information that is seen, but try not to refer to specific UI elements. E.g., WRONG: &quot;see UserList.jsp&quot; (what is the user supposed to notice on that page?) RIGHT: &quot;see list of users with the newly added user in the list&quot;.</p> <h4 id="user-content-perform-use-case-name" dir="auto">perform USE-CASE-NAME</h4> <p dir="auto">This is like a subroutine call. The user will do all the steps of the named use case and then continue on with the next step of this use case.</p> <h3 id="further-information" dir="auto">Further Information</h3> <p dir="auto">For more information on advice, see:</p> <ul dir="auto"> <li>Words of wisdom on <a href="<a href="http://readyset.tigris.org/words-of-wisdom/use-case-suite.html" class="link">http://readyset.tigris.org/words-of-wisdom/use-case-suite.html</a>">use case suites</a>.</li> <li>Words of wisdom on <a href="<a href="http://readyset.tigris.org/words-of-wisdom/use-cases.html" class="link">http://readyset.tigris.org/words-of-wisdom/use-cases.html</a>">use cases</a>.</li> </ul> <!-- End Markdown content -->
</html>