Commit 51adecbd4e320ac6c7aa7b6a62be1cb0c36ff00a

Authored by Kevin Mach
1 parent 382c67f685
Exists in master

wordssss

Showing 1 changed file with 1 additions and 2 deletions Inline Diff

StoriesAndAcceptanceTests.tex View file @ 51adecb
\documentclass[letterpaper]{scrartcl} % or whatever 1 1 \documentclass[letterpaper]{scrartcl} % or whatever
\usepackage{tgpagella} 2 2 \usepackage{tgpagella}
\setkomafont{disposition}{\normalfont\bfseries} 3 3 \setkomafont{disposition}{\normalfont\bfseries}
%\usepackage[markuppercase]{scrpage2} 4 4 %\usepackage[markuppercase]{scrpage2}
\title{\huge User Story Acceptance Test Plan} 5 5 \title{\huge User Story Acceptance Test Plan}
\date{\today} 6 6 \date{\today}
\author{\Large Students With A Goal (S.W.A.G.)} 7 7 \author{\Large Students With A Goal (S.W.A.G.)}
\usepackage[pass]{geometry} 8 8 \usepackage[pass]{geometry}
\usepackage{hyperref} 9 9 \usepackage{hyperref}
\usepackage{graphicx} 10 10 \usepackage{graphicx}
\usepackage{enumitem} 11 11 \usepackage{enumitem}
\setlist[description]{style=multiline,leftmargin=3cm,font=\normalfont\textbf} 12 12 \setlist[description]{style=multiline,leftmargin=3cm,font=\normalfont\textbf}
\setlistdepth{9} 13 13 \setlistdepth{9}
14 14
\setlist[itemize,1]{label=$\bullet$} 15 15 \setlist[itemize,1]{label=$\bullet$}
\setlist[itemize,2]{label=$\bullet$} 16 16 \setlist[itemize,2]{label=$\bullet$}
\setlist[itemize,3]{label=$\bullet$} 17 17 \setlist[itemize,3]{label=$\bullet$}
\setlist[itemize,4]{label=$\bullet$} 18 18 \setlist[itemize,4]{label=$\bullet$}
\setlist[itemize,5]{label=$\bullet$} 19 19 \setlist[itemize,5]{label=$\bullet$}
\setlist[itemize,6]{label=$\bullet$} 20 20 \setlist[itemize,6]{label=$\bullet$}
\setlist[itemize,7]{label=$\bullet$} 21 21 \setlist[itemize,7]{label=$\bullet$}
\setlist[itemize,8]{label=$\bullet$} 22 22 \setlist[itemize,8]{label=$\bullet$}
\setlist[itemize,9]{label=$\bullet$} 23 23 \setlist[itemize,9]{label=$\bullet$}
\renewlist{itemize}{itemize}{9} 24 24 \renewlist{itemize}{itemize}{9}
\begin{document} 25 25 \begin{document}
\maketitle 26 26 \maketitle
\begin{center} 27 27 \begin{center}
\includegraphics[width=12cm]{../swag_logo.png}\\ 28 28 \includegraphics[width=12cm]{../swag_logo.png}\\
29 29
\begin{tabular}{l r} 30 30 \begin{tabular}{l r}
Melody Jeng & System Architect \\ 31 31 Melody Jeng & System Architect \\
Arno Gau & Senior System Analyst \\ 32 32 Arno Gau & Senior System Analyst \\
Rachel Lee & Software Development Lead \\ 33 33 Rachel Lee & Software Development Lead \\
Laura Hawkins & Project Manager \\ 34 34 Laura Hawkins & Project Manager \\
Rohan Rangray & Algorithms Specialist\\ 35 35 Rohan Rangray & Algorithms Specialist\\
Andrew Buss & Database Specialist \\ 36 36 Andrew Buss & Database Specialist \\
Phuong Tran & Quality Assurance Lead \\ 37 37 Phuong Tran & Quality Assurance Lead \\
Chung Kang Wang & Business Analyst\\ 38 38 Chung Kang Wang & Business Analyst\\
Masud Rahman & User Interface Specialist\\ 39 39 Masud Rahman & User Interface Specialist\\
Kevin Mach & User Interface Specialist\\ 40 40 Kevin Mach & User Interface Specialist\\
\end{tabular} 41 41 \end{tabular}
\end{center} 42 42 \end{center}
\newpage 43 43 \newpage
\tableofcontents 44 44 \tableofcontents
45 45
\newpage 46 46 \newpage
\section{Account} 47 47 \section{Account}
\subsection{User Login Acceptance Test} 48 48 \subsection{User Login Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 49 49 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to be able to login, view my classes and decks while creating flashcards.} 50 50 \item [Description:]{As a user, I want to be able to login, view my classes and decks while creating flashcards.}
\item [Steps:] 51 51 \item [Steps:]
\begin{enumerate} 52 52 \begin{enumerate}
\item The user shall enter email TEST3@flashy.cards 53 53 \item The user shall enter email TEST3@flashy.cards
\item The user shall enter password "test". 54 54 \item The user shall enter password "test".
\end{enumerate} 55 55 \end{enumerate}
\item [Expected Result:]{The user shall see the "Add Class" page.} 56 56 \item [Expected Result:]{The user shall see the "Add Class" page.}
\end{description} 57 57 \end{description}
58 58
\subsection{User Password Change Acceptance Test} 59 59 \subsection{User Password Change Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 60 60 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to be able to change my login password.} 61 61 \item [Description:]{As a user, I want to be able to change my login password.}
\item [Steps:] 62 62 \item [Steps:]
\begin{enumerate} 63 63 \begin{enumerate}
\item User shall click "Change Password" on the "Settings" page. 64 64 \item User shall click "Change Password" on the "Settings" page.
\item User shall enter old password 65 65 \item User shall enter old password
\item User shall enter new password and confirm 66 66 \item User shall enter new password and confirm
\item The user shall click "Change Password" 67 67 \item The user shall click "Change Password"
\item The user shall enter old password 68 68 \item The user shall enter old password
\item The user shall enter new password and confirm 69 69 \item The user shall enter new password and confirm
\end{enumerate} 70 70 \end{enumerate}
\item [Expected Result:]{The user's password is changed to new password.} 71 71 \item [Expected Result:]{The user's password is changed to new password.}
\end{description} 72 72 \end{description}
73 73
\subsection{User Password Reset Acceptance Test} 74 74 \subsection{User Password Reset Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 75 75 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to be able to reset my password if I forget it.} 76 76 \item [Description:]{As a user, I want to be able to reset my password if I forget it.}
\item [Steps:] 77 77 \item [Steps:]
\begin{enumerate} 78 78 \begin{enumerate}
\item 79 79 \item
{The user shall click "Forgot Password?" from the login page.} 80 80 {The user shall click "Forgot Password?" from the login page.}
\item 81 81 \item
{The user shall enter the email they used to sign up for an account.} 82 82 {The user shall enter the email they used to sign up for an account.}
\end{enumerate} 83 83 \end{enumerate}
\item[Expected Result:]{The user's password will be reset and an email will be 84 84 \item[Expected Result:]{The user's password will be reset and an email will be
sent to the proper email allowing user to change their password.} 85 85 sent to the proper email allowing user to change their password.}
\end{description} 86 86 \end{description}
87 87
\subsection{User Adds Themselves to Class Acceptance Test} 88 88 \subsection{User Adds Themselves to Class Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 89 89 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to be able to add myself to a class that I am in.} 90 90 \item [Description:]{As a user, I want to be able to add myself to a class that I am in.}
\item [Steps:] 91 91 \item [Steps:]
\begin{enumerate} 92 92 \begin{enumerate}
93 93
\item {User shall click on the "Add Class" feature under the Class dropdown menu to visit the "Add Class" page.} 94 94 \item {User shall click on the "Add Class" feature under the Class dropdown menu to visit the "Add Class" page.}
\item {User shall enter "CSE 3" in the input box.} 95 95 \item {User shall enter "CSE 3" in the input box.}
\item {User shall select the first choice for "CSE 3" and add class.} 96 96 \item {User shall select the first choice for "CSE 3" and add class.}
97 97
\item {The user shall visit the "Add Class" page.} 98 98 \item {The user shall visit the "Add Class" page.}
\item {The user shall enter "CSE 3" in the input box.} 99 99 \item {The user shall enter "CSE 3" in the input box.}
\item {The user shall select the first choice for "CSE 3" and add class.} 100 100 \item {The user shall select the first choice for "CSE 3" and add class.}
101 101
\end{enumerate} 102 102 \end{enumerate}
\item [Expected Result:]{The user shall see the class "CSE 3" in their class list under 103 103 \item [Expected Result:]{The user shall see the class "CSE 3" in their class list under
the dropdown or sidebar.} 104 104 the dropdown or sidebar.}
\end{description} 105 105 \end{description}
106 106
\subsection{Deck for Each Section Acceptance Test} 107 107 \subsection{Deck for Each Section Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 108 108 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to see the cards in my deck for each deck 109 109 \item [Description:]{As a user, I want to see the cards in my deck for each deck
associated with a section I'm enrolled in.} 110 110 associated with a section I'm enrolled in.}
\item [Steps:] 111 111 \item [Steps:]
\begin{enumerate} 112 112 \begin{enumerate}
\item The user shall click on the section of the deck from the drop down menu at the 113 113 \item The user shall click on the section of the deck from the drop down menu at the
right end of the top navbar. 114 114 right end of the top navbar.
\item The user shall click on the Deck button on the left side of the navbar. 115 115 \item The user shall click on the Deck button on the left side of the navbar.
\end{enumerate} 116 116 \end{enumerate}
\item [Expected Result:]{The user shall now see the cards in the deck he chose.} 117 117 \item [Expected Result:]{The user shall now see the cards in the deck he chose.}
\end{description} 118 118 \end{description}
119 119
\newpage 120 120 \newpage
\section{Flashcards} 121 121 \section{Flashcards}
\subsection{User Makes a Flashcard Acceptance Test} 122 122 \subsection{User Makes a Flashcard Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 123 123 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to be able to create a flashcard and 124 124 \item [Description:]{As a user, I want to be able to create a flashcard and
publish it for everyone to see.} 125 125 publish it for everyone to see.}
\item [Steps:] 126 126 \item [Steps:]
\begin{enumerate} 127 127 \begin{enumerate}
\item The user shall visit the feed for the ``CSE 3'' course 128 128 \item The user shall visit the feed for the ``CSE 3'' course
\item The user shall click on the '+' button at the lower right corner of the 129 129 \item The user shall click on the '+' button at the lower right corner of the
screen. The user can press the "c" key on their keyboard to bring up the input box. 130 130 screen. The user can press the "c" key on their keyboard to bring up the input box.
\item The user shall write the content of his flashcard in the input box that pops up 131 131 \item The user shall write the content of his flashcard in the input box that pops up
from the bottom of the screen and blanks the appropriate blanks. 132 132 from the bottom of the screen and blanks the appropriate blanks.
\item The user shall press Enter or clicks on 'Submit' to submit the flashcard to screen. 133 133 \item The user shall press Enter or clicks on 'Submit' to submit the flashcard to screen.
\item The user shall write ``Hi I am a card'', and highlight ``card'' and press 134 134 \item The user shall write ``Hi I am a card'', and highlight ``card'' and press
Ctrl+B or click on 'Blank Selected Text' to mark it as a blank. 135 135 Ctrl+B or click on 'Blank Selected Text' to mark it as a blank.
\item The user shall presse Enter or clicks on 'Submit' to submit the flashcard to the feed. 136 136 \item The user shall presse Enter or clicks on 'Submit' to submit the flashcard to the feed.
\end{enumerate} 137 137 \end{enumerate}
\item [Expected Result:]{The user shall see a flashcard with the text ``Hi I am 138 138 \item [Expected Result:]{The user shall see a flashcard with the text ``Hi I am
a card'' with the word ``card'' underlined added to the feed} 139 139 a card'' with the word ``card'' underlined added to the feed}
\end{description} 140 140 \end{description}
141 141
\subsection{User Adds Flashcard to Deck For Class Acceptance Test} 142 142 \subsection{User Adds Flashcard to Deck For Class Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 143 143 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to add a card from the feed to my deck.} 144 144 \item [Description:]{As a user, I want to add a card from the feed to my deck.}
\item [Steps:] 145 145 \item [Steps:]
\begin{enumerate} 146 146 \begin{enumerate}
\item The user shall go to the live feed of the class he wants to pull the flashcard from. 147 147 \item The user shall go to the live feed of the class he wants to pull the flashcard from.
\item The user shall click on the flashcard that he wants to add to his deck. 148 148 \item The user shall click on the flashcard that he wants to add to his deck.
\end{enumerate} 149 149 \end{enumerate}
\item [Expected Result:]{The flashcard the user clicked on is added to his deck} 150 150 \item [Expected Result:]{The flashcard the user clicked on is added to his deck}
\end{description} 151 151 \end{description}
152 152
153 153
\subsection{User Logs Out Acceptance Test} 154 154 \subsection{User Logs Out Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 155 155 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:] {As a user, I want to log out of my account.} 156 156 \item [Description:] {As a user, I want to log out of my account.}
\item [Steps:] 157 157 \item [Steps:]
\begin{enumerate} 158 158 \begin{enumerate}
\item [Description:] 159 159 \item The user shall click on the logout button at the top right corner.
{The user shall click on the logout button at the top right corner.} 160
\end{enumerate} 161 160 \end{enumerate}
\item [Expected Result:] {The user is logged out and is redirected to the login page.} 162 161 \item [Expected Result:] {The user is logged out and is redirected to the login page.}
163 162
\end{description} 164 163 \end{description}
165 164
\newpage 166 165 \newpage
\section{Decks} 167 166 \section{Decks}
\subsection{View Cards in Deck Acceptance Test} 168 167 \subsection{View Cards in Deck Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 169 168 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:] 170 169 \item [Description:]
{As a user, I want to be able to view the cards that I have included in my deck.} 171 170 {As a user, I want to be able to view the cards that I have included in my deck.}
\item [Steps:] 172 171 \item [Steps:]
\begin{enumerate} 173 172 \begin{enumerate}
\item 174 173 \item
{The user shall visit the feed for the Test VIEW DECK course.} 175 174 {The user shall visit the feed for the Test VIEW DECK course.}
\item 176 175 \item
{The user shall click on deck on top left.} 177 176 {The user shall click on deck on top left.}
\end{enumerate} 178 177 \end{enumerate}
\item [Expected Result:]{The test passes when the user sees 179 178 \item [Expected Result:]{The test passes when the user sees
the flashcard "This is a flashcard".} 180 179 the flashcard "This is a flashcard".}
\end{description} 181 180 \end{description}
182 181
\subsection{Remove Card from Deck Acceptance Test} 183 182 \subsection{Remove Card from Deck Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 184 183 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to be able to remove cards from my deck.} 185 184 \item [Description:]{As a user, I want to be able to remove cards from my deck.}
\item [Steps:] 186 185 \item [Steps:]
\begin{enumerate} 187 186 \begin{enumerate}
\item The user shall visit the feed for the ``CSE 3'' course. 188 187 \item The user shall visit the feed for the ``CSE 3'' course.
\item The user shall click on the ``Deck'' button on the left side of the 189 188 \item The user shall click on the ``Deck'' button on the left side of the
navbar. 190 189 navbar.
\item The user shall hover his mouse over the flashcard that he wants to 191 190 \item The user shall hover his mouse over the flashcard that he wants to
remove. 192 191 remove.
\item The user shall click on the white-on-green ``-'' button that appears on the 193 192 \item The user shall click on the white-on-green ``-'' button that appears on the
flashcard. 194 193 flashcard.
\end{enumerate} 195 194 \end{enumerate}
\item [Expected Result:]{The flashcard the user clicked on is removed from his deck} 196 195 \item [Expected Result:]{The flashcard the user clicked on is removed from his deck}
\end{description} 197 196 \end{description}
198 197
\newpage 199 198 \newpage
\section{Study} 200 199 \section{Study}
\subsection{Study Deck Acceptance Test} 201 200 \subsection{Study Deck Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 202 201 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:] 203 202 \item [Description:]
{As a user, I want to be able to study my deck.} 204 203 {As a user, I want to be able to study my deck.}
\item [Steps:] 205 204 \item [Steps:]
\begin{enumerate} 206 205 \begin{enumerate}
\item The user shall visit the feed for the ``CSE 3'' course 207 206 \item The user shall visit the feed for the ``CSE 3'' course
\item The user shall create a card with the text ``Hello I am a card!'', with ``card'' selected as a blank. 208 207 \item The user shall create a card with the text ``Hello I am a card!'', with ``card'' selected as a blank.
\item The user shall click the Study button 209 208 \item The user shall click the Study button
\end{enumerate} 210 209 \end{enumerate}
\item [Expected Result:]{The user shall see a card with the text``Hello I am a \underline{\hspace{1cm}}!''} 211 210 \item [Expected Result:]{The user shall see a card with the text``Hello I am a \underline{\hspace{1cm}}!''}
\end{description} 212 211 \end{description}
213 212
\subsection{User Study Negative Acceptance Test} 214 213 \subsection{User Study Negative Acceptance Test}
\begin{description}[style=multiline,leftmargin=5cm] 215 214 \begin{description}[style=multiline,leftmargin=5cm]
\item [Description:]{As a user, I want to respond with an answer when the app 216 215 \item [Description:]{As a user, I want to respond with an answer when the app
quizzes me on a flashcard.} 217 216 quizzes me on a flashcard.}
\item [Steps:] 218 217 \item [Steps:]
\begin{enumerate} 219 218 \begin{enumerate}
\item The user shall visit the feed for the ``CSE 3'' course 220 219 \item The user shall visit the feed for the ``CSE 3'' course
\item The user shall click the Study button 221 220 \item The user shall click the Study button
\item The user shall type in anything other than ``card'' in the bottom field and hit enter. 222 221 \item The user shall type in anything other than ``card'' in the bottom field and hit enter.
\item The user shall click on on 'Check' to see if his answer was right or 223 222 \item The user shall click on on 'Check' to see if his answer was right or
wrong. 224 223 wrong.