1. Purpose:
Setup:
Test Data:
Action | Input | Expected Outcome |
Start the game | java OneApp SwingPlayer | The start screen will appear. |
Click: | Start Game | The game window should appear with 4 players hands, the deck, the current discarded card, score box, element choice, and turn direction indicators. It should be your turn. Verify that the number of cards remaining in each player's hand is displayed above their hands. |
Begin playing the game. Click: | Any of your cards, pass, the deck, or O-NE | Expected output depends on your actions. Verify that the number of cards remaining in each player's hand is displayed above their hands. |
Continue playing the game until game or round ends Click: | Any of your cards, pass, the deck, or O-NE | Expected output depends on your actions. Once game ends, you will see "Game Over" or "Round Over" in the game status console. Verify that the number of cards remaining in each player's hand is displayed above their hands. |
1. To ensure that betting happens before and after the flop.
Requirement Traceability:
5.2.5 First Stage Of Betting Begins Before The Flop
5.2.10 Second Stage of Betting Begins After The Flop
Setup:
Test Data
Action | Input | Expected Output |
Start holdemConsole from the Holdem directory. | java -classpath "build/classes" holdemConsole.ConsoleProgram | BetGameState: asking console player for $10.0 please enter your bet, in cents. to fold, enter -1: |
Enter a bet of ten dollars. | 1000 | event: advanced to holdem.DealFlopGameState event: advanced to holdem.PostFlopBetGameState please enter your bet, in cents. to fold, enter -1: |
Enter a bet of ten dollars. | 1000 | event: advanced to holdem.DealTurnGameState |
Setup:
Test Data:
Action | Input | Expected Output |
Start the Toleco.jar file with no arguments. | A window appears showing the main menu of the game Toleco with a Ocelot, New Game, Load Game, Map Editor, Help, and Quit button. |
|
Click the "New Game" button | A window appears with a file chooser to load a valid .ocem map. | |
Select the downloaded BasicMap.ocem | The file name box at the bottom of the window will now have BasicMap.ocem listed in it. |
|
Click the "Load" button | A map should appear. | |
Click on every location. | On the right side of the screen terrain name, statistics, and a picture should be displayed. |
5. Purpose:
Setup:
Find the game JAR file and execute it. This will open the game on the screen.
Test Data:
Action |
Input |
Expected Output |
Start Raccolta game | A window with a menu bar appears on the screen | |
From the menu bar select new game | The board game is displayed with the following buttons: 3 more, hint, start | |
On the board game, click the start button | The game is under way, cards are displayed on the table and timer stars | |
Find 3 cards that make a set | The user score gets incremented by 20 |
6. Purpose:
Setup:
Execute the Program.
Test Data:
Action | Input | Expected Output |
Starts the Game | A window appears without any cards dealt on the table | |
Press 'New Game' from 'File' menu | Game starts and 15 cards are dealt on the table. The timer starts. | |
Press a card on table | Selected Card is highlighted. | |
Press the hint button | Nothing happens. | |
Press second card on table | Selected Card is highlighted. | |
Press the hint button | A hint is displayed. |
1. To ensure that the Deck is being properly shuffled before the Texas Hold'em game begins.
Requirement Traceability: 5.2.1 Deck Shuffled
Setup:
1.) Open up NetBeans IDE.
2.) Go to File >> Open Project... -- a dialog should appear
3.) Go to the directory that contains the RRAMM project and click Open
4.) Right-click Hold'em under the Projects pane, and select Clean and Build
5.) Right-click Hold'em under the Projects pane and select Run -- the application should run
Test Data
Action | Input | Expected Output |
Click File | A new menu appears underneath File with the options of "New", "Open" or "Exit". |
8. Purpose:
Verify the point counter if working correctly
Setup:
Navigate to where hearts.jar is located in the command line. Enter: "java -jar hearts.jar"
Test Data:
Action | Input | Expected Outcome |
Click a playable card | Click a playable card | Card is played into the trick Note the value of the winning card and who played it |
Click a playable card | Click a playable card | Card is played into the trick Note the value of the winning card and who played it |
None | None | The score displayed for the players should be the total of all all the noted values. |
Verifies gameplay score display is consistent with the requirements.
Setup:
Navigate to where hearts.jar is located in the command line. Enter: "java -jar hearts.jar"
Test Data:
Click a playable card | Click a playable card | The card should be added to the trick and the trick should finish |
None | None | Score popup should display Player names should be ordered horizontal across the top. Hand numbers should be ordered vertically lowest to highest on the left. The final row should contain the current total points of each player. |
Setup
Test Data
Action | Input | Expected Output |
Start the Application | None | 7 cards should be displayed for each player. A discard card is displayed at the start of the game. The current play color is indicated. Each player's name is displayed. The play direction is indicated. |
Play a turn | Select any playable card from the human hand panel or keep drawing until getting a playable card and play it. | The game shows the player's played card in the discard pile
and then lets the computer players play. Once all the computer players played, the game should notify the player it's their turn again. |
Setup:
Test Data:'
Step# | Action | Input | Expected Result |
1 | Click the "Normal Game" button. | A normal game should start (a hint button should be available on the playing area under the deck). | |
2 | Click the "hint button" | A card from the playing area should be put into the union evaluator. (right side) |
Setup:
Test Data:
Step# | Action | Input | Expected Result |
1 | Enter into the command line: | java -jar <jar-executable> -c (where "<jar-executable>" is the name of the JAR executable). |
Console should print out a text display to the console portraying the playing area for the game. |
2.2.5.2 Once all flipping is completed, if the board has at least one empty section then begin the turn of the player who played least recently.
Setup: Navigate to TripleTrilogy folder and run it with no arguments (this will run the program in GUI mode). A new game will be displayed.
Test Data:
Action | Input | Output |
Ensuring flips complete | If the board has ceased flipping possessions of cards | Ready to check for next section of requirement |
Act of who's turn it currently is | If at least one card space
is vacant, whichever player did not play last is up to place a new card from their hand on the board |
A new card should appear on
the game table, flipping possession of other cards as needed. |