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