Commit e4a71307883f814c91002460c9bd46297851cd6f
Exists in
master
Merge branch 'master' of https://git.ucsd.edu/110swag/docs
Showing 2 changed files Side-by-side Diff
DesignUseCases.tex
View file @
e4a7130
... | ... | @@ -1361,97 +1361,7 @@ |
1361 | 1361 | |
1362 | 1362 | {} |
1363 | 1363 | \section{Decks} |
1364 | -\subsection{[-D2-] Making a deck - Removed} | |
1365 | 1364 | |
1366 | -\begin{description} | |
1367 | -\item[Description]{Upon selecting the right course, the student has the | |
1368 | -power to make a deck by either selecting existing flashcard or adding a | |
1369 | -new flashcard.} | |
1370 | - | |
1371 | -\item[Desired Outcome]{The user can keep track of cards that s/he wants.} | |
1372 | -\\ | |
1373 | -\item[User Goals]{The user has a personal deck ready for review later.} | |
1374 | - | |
1375 | -\item[Primary Actor]{User (student)} | |
1376 | - | |
1377 | -\item[Dependency Use Cases]{Add a class {[}A3{]}, Add Flashcards to Deck | |
1378 | -{[}F1{]}, Make a Flashcard {[}F3{]}} | |
1379 | -\\ | |
1380 | -\item[Priority Level]{``Must''} | |
1381 | - | |
1382 | -\item[Status]{In Progress} | |
1383 | - | |
1384 | -\item[Pre-conditions] | |
1385 | - | |
1386 | -\begin{itemize} | |
1387 | -\itemsep1pt\parskip0pt\parsep0pt | |
1388 | -\item | |
1389 | - {The user has an account with the application. } | |
1390 | -\item | |
1391 | - {The user has been added to the desired class.} | |
1392 | -\end{itemize} | |
1393 | - | |
1394 | -\item[Post-conditions] | |
1395 | - | |
1396 | -\begin{itemize} | |
1397 | -\itemsep1pt\parskip0pt\parsep0pt | |
1398 | -\item | |
1399 | - {Desired cards are added to user's deck to the specific class } | |
1400 | -\item | |
1401 | - {User's deck is added to the database.} | |
1402 | -\end{itemize} | |
1403 | - | |
1404 | -\item[Trigger]{The User wants to have a collection of cards.} | |
1405 | - | |
1406 | -\item[Workflow] | |
1407 | - | |
1408 | -\begin{enumerate} | |
1409 | -\itemsep1pt\parskip0pt\parsep0pt | |
1410 | -\item | |
1411 | - {User is at their dashboard.} | |
1412 | -\item | |
1413 | - {User selects the class of interest that they had no activity in yet.} | |
1414 | -\item | |
1415 | - {Client displays the Live Feed for the class.} | |
1416 | -\item | |
1417 | - {User presses ``Pull Flashcard'' button on a Flashcard that they want | |
1418 | - in their Deck.} | |
1419 | -\item | |
1420 | - {The server creates a Deck for the User for the Class of interest.} | |
1421 | -\item | |
1422 | - {The server adds the Flashcard to the User's Deck.} | |
1423 | -\item | |
1424 | - {The Client makes the Flashcard disappear from the Live Feed.} | |
1425 | -\item | |
1426 | - {The Client displays the Flashcard in the User's Deck in the sidebar.} | |
1427 | -\end{enumerate} | |
1428 | - | |
1429 | -{Alternate Workflow:} | |
1430 | - | |
1431 | -\begin{enumerate} | |
1432 | -\itemsep1pt\parskip0pt\parsep0pt | |
1433 | -\item | |
1434 | - {User is at their dashboard.} | |
1435 | -\item | |
1436 | - {User selects the class of interest that they had no activity in yet.} | |
1437 | -\item | |
1438 | - {Client displays the Live Feed for the class.} | |
1439 | -\item | |
1440 | - {The User adds a Flashcard into the Class.} | |
1441 | -\item | |
1442 | - {The server creates a Deck for the User for the Class of interest.} | |
1443 | -\item | |
1444 | - {The server adds the new Flashcard to the User's Deck.} | |
1445 | -\item | |
1446 | - {The Client makes the Flashcard disappear from the Live Feed.} | |
1447 | -\item | |
1448 | - {The Client displays the Flashcard in the User's Deck in the sidebar.} | |
1449 | -\end{enumerate} | |
1450 | -\end{description} | |
1451 | -\newpage | |
1452 | - | |
1453 | -{} | |
1454 | - | |
1455 | 1365 | \subsection{[D1] Remove a card from a deck} |
1456 | 1366 | |
1457 | 1367 | \begin{description} |
... | ... | @@ -1545,93 +1455,6 @@ |
1545 | 1455 | \end{enumerate} |
1546 | 1456 | \end{description} |
1547 | 1457 | |
1548 | -\subsection{[-D2-] Shuffling deck - Removed} | |
1549 | - | |
1550 | -\begin{description} | |
1551 | -\item[Description]{User is able to shuffle his/her deck as a way to study | |
1552 | -the flashcards} | |
1553 | - | |
1554 | -\item[Desired Outcome]{When taking a quiz, the user will notice that | |
1555 | -flashcards appear in random order} | |
1556 | - | |
1557 | -{User Goals:}{Improve quiz taking skills and knowledge consumption} | |
1558 | - | |
1559 | -\item[Primary Actor]{User (student)} | |
1560 | - | |
1561 | -\item[Dependency Use Cases]{Deck has been created {[}D2{]}} | |
1562 | -\\ | |
1563 | -\item[Priority Level]{}{''Won't''} | |
1564 | - | |
1565 | -\item[Status]{Implemented } | |
1566 | - | |
1567 | -\item[Pre-conditions] | |
1568 | - | |
1569 | -\begin{itemize} | |
1570 | -\itemsep1pt\parskip0pt\parsep0pt | |
1571 | -\item | |
1572 | - {User must have registered for course } | |
1573 | -\end{itemize} | |
1574 | - | |
1575 | -\begin{itemize} | |
1576 | -\itemsep1pt\parskip0pt\parsep0pt | |
1577 | -\item | |
1578 | - {User must have added cards to deck.} | |
1579 | -\end{itemize} | |
1580 | - | |
1581 | -\item[Post-conditions]{} | |
1582 | - | |
1583 | -\begin{itemize} | |
1584 | -\itemsep1pt\parskip0pt\parsep0pt | |
1585 | -\item | |
1586 | - {User takes a quiz and notice the deck has been shuffled.} | |
1587 | -\end{itemize} | |
1588 | - | |
1589 | -\item[Trigger]{The User wants to review their cards in random order.} | |
1590 | - | |
1591 | -\item[Workflow] | |
1592 | - | |
1593 | -\begin{enumerate} | |
1594 | -\itemsep1pt\parskip0pt\parsep0pt | |
1595 | -\item | |
1596 | - {User is on the homepage.} | |
1597 | -\item | |
1598 | - {User selects the ``Study'' button for the Class they want to view or | |
1599 | - shuffle cards for.} | |
1600 | -\item | |
1601 | - {The Client displays their Deck for the Class of interest.} | |
1602 | -\item | |
1603 | - {User clicks on ``shuffle deck'' button to shuffle the deck, | |
1604 | - randomizing the order in which it will be displayed.} | |
1605 | -\item | |
1606 | - {The Client displays a change in card ordering.} | |
1607 | -\item | |
1608 | - {System reorders cards' study order.} | |
1609 | -\end{enumerate} | |
1610 | - | |
1611 | -{Alternate Workflow: } | |
1612 | - | |
1613 | -\begin{enumerate} | |
1614 | -\itemsep1pt\parskip0pt\parsep0pt | |
1615 | -\item | |
1616 | - {User is on the homepage.} | |
1617 | -\item | |
1618 | - {User selects Class of interest.} | |
1619 | -\item | |
1620 | - {The Client displays the Live Feed for the Class.} | |
1621 | -\item | |
1622 | - {User clicks on ``shuffle deck'' button to shuffle the deck, | |
1623 | - randomizing the order in which it will be displayed.} | |
1624 | -\item | |
1625 | - {The Client displays a change in card ordering.} | |
1626 | -\item | |
1627 | - {System reorders cards' study order.} | |
1628 | -\end{enumerate} | |
1629 | -\end{description} | |
1630 | -{} | |
1631 | - | |
1632 | -\newpage | |
1633 | - | |
1634 | -{} | |
1635 | 1458 | |
1636 | 1459 | \subsection{[D2] Viewing cards in deck by pull time} |
1637 | 1460 |
TestCases.tex
View file @
e4a7130
... | ... | @@ -1620,13 +1620,15 @@ |
1620 | 1620 | \subsection{[D1] Remove a Card from Deck} |
1621 | 1621 | |
1622 | 1622 | \begin{description} |
1623 | -\item[Description:]{This test case outlines the presentation layering step process | |
1624 | -of a user removing a flashcard from their deck.} | |
1623 | +\item[Description:]{This test case outlines the presentation layering | |
1624 | +step process of a user removing a flashcard from their deck.} | |
1625 | 1625 | |
1626 | -\item[Desired Outcome:]{The deck does not display the removed card.} | |
1626 | +\item[Desired Outcome:]{The selected card will not appear in | |
1627 | +the deck.} | |
1627 | 1628 | \\ |
1628 | 1629 | |
1629 | -\item[User Goals:]{The User wants to only review cards that the User wants to review.} | |
1630 | +\item[User Goals:]{The User wants to remove an undesirable card | |
1631 | +from their deck.} | |
1630 | 1632 | |
1631 | 1633 | \item[Dependency Use Cases:]{[A3] Add a class, [F1] Push Flashcard, [F3] Pull Flashcard} |
1632 | 1634 | \\ |
1633 | 1635 | |
1634 | 1636 | |
1635 | 1637 | |
... | ... | @@ -1641,18 +1643,23 @@ |
1641 | 1643 | \item |
1642 | 1644 | {User is logged in as UserX.} |
1643 | 1645 | \item |
1644 | - {UserX has enrolled in the class TEST 101.} | |
1646 | + {UserX has added the class TEST 101.} | |
1645 | 1647 | \item |
1646 | - {UserX has added cards from the feed into their deck.} | |
1648 | + {UserX has created a flashcard with the text | |
1649 | +``This is a bad card''.} | |
1647 | 1650 | \item |
1648 | - {UserX is at the deck/live feed screen for the class TEST 101.} | |
1651 | + {UserX has created a flashcard with the text | |
1652 | +``This is a bad card too''.} | |
1653 | +\item | |
1654 | + {UserX has created a flashcard with the text | |
1655 | +``This is a bad card''.} | |
1649 | 1656 | \end{itemize} |
1650 | 1657 | |
1651 | 1658 | \item[Postconditions:] |
1652 | 1659 | \begin{itemize} |
1653 | 1660 | \itemsep1pt\parskip0pt\parsep0pt |
1654 | 1661 | \item |
1655 | - {Desired card are hidden from the User.} | |
1662 | + {Selected card is hidden from the User.} | |
1656 | 1663 | \end{itemize} |
1657 | 1664 | |
1658 | 1665 | \item[Trigger:]{UserX wants a card to be removed from their deck.} |
1659 | 1666 | |
1660 | 1667 | |
1661 | 1668 | |
1662 | 1669 | |
1663 | 1670 | |
1664 | 1671 | |
1665 | 1672 | |
1666 | 1673 | |
1667 | 1674 | |
1668 | 1675 | |
... | ... | @@ -1661,40 +1668,42 @@ |
1661 | 1668 | \begin{enumerate} |
1662 | 1669 | \itemsep1pt\parskip0pt\parsep0pt |
1663 | 1670 | \item |
1664 | - {UserX is at the Deck screen for the class.} | |
1671 | + {UserX is at the deck for the class TEST 101.} | |
1665 | 1672 | \item |
1666 | - {UserX shall hover over the card they want to delete and click | |
1667 | - the trash icon (hereafter, the ``Delete'' button) in the lower right | |
1668 | - corner of the card.} | |
1673 | + {UserX shall hover the cursor over the card | |
1674 | +with the text ``This is a bad card''.} | |
1669 | 1675 | \item |
1670 | - {UserX shall select the appropriate class.} | |
1676 | + {UserX shall click the large green minus button.} | |
1671 | 1677 | \item |
1672 | - {The System removes the flashcard from UserX's Deck.} | |
1678 | + {The System shall remove the flashcard from UserX's Deck.} | |
1673 | 1679 | \item |
1674 | - {The System updates the flashcard's position in the Live Feed of class TEST 101.} | |
1675 | -\item | |
1676 | - {The System updates UserX's Deck.} | |
1680 | + {The System shall update UserX's Deck.} | |
1677 | 1681 | \end{enumerate} |
1678 | 1682 | |
1679 | -\item[Expected Result:] {The flashcard is removed from UserX's deck.} | |
1683 | +\item[Expected Result:] {The flashcard with the | |
1684 | +text ``This is a bad card'' will no longer have a checkmark | |
1685 | +on top right of the flashcard. After UserX refresh the page, | |
1686 | +the flashcard will be removed from the deck.} | |
1680 | 1687 | |
1681 | 1688 | \item[Alternate Workflow:] |
1682 | 1689 | \begin{enumerate} |
1683 | 1690 | \itemsep1pt\parskip0pt\parsep0pt |
1684 | 1691 | \item |
1685 | - {UserX is at the Live Feed screen for the class.} | |
1692 | + {UserX is at the live feed screen for the class.} | |
1686 | 1693 | \item |
1687 | - {UserX shall hover over the card they want to delete and click | |
1688 | - the ``Delete'' button in the lower right corner of the card.} | |
1694 | + {UserX shall hover the cursor over the card | |
1695 | +with the text ``This is a bad card too''.} | |
1689 | 1696 | \item |
1690 | - {The System removes the flashcard from the User's Deck.} | |
1697 | + {UserX shall click the large green minus button.} | |
1691 | 1698 | \item |
1692 | - {The System updates the flashcard's position in the Live Feed.} | |
1693 | -\item | |
1694 | - {The System updates the User's Deck.} | |
1699 | + {The System shall update UserX's Deck, and the flashcard's | |
1700 | +position in the live feed.} | |
1695 | 1701 | \end{enumerate} |
1696 | 1702 | |
1697 | -\item[Expected Result:] {The flashcard is removed from UserX's deck.} | |
1703 | +\item[Expected Result:] | |
1704 | +{The flashcard with the text ``This is a bad card too'' will | |
1705 | +no longer have a checkmark on the top right of the flashcard. | |
1706 | +The flashcard will no longer be in UserX's deck.} | |
1698 | 1707 | |
1699 | 1708 | \end{description} |
1700 | 1709 | \newpage |