StoriesAndAcceptanceTests.tex 7.22 KB
\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}