TEST PAGE for Virtual Players Unit testing
3.1.1
1. Create a player named Andrew Noske
2. Join a table
3. Ensure that the player has been added to the database
4. Ensure that the player's name appears in the name box above
the position that they will be controlling the cards for.
5. Ensure that a starting amount has been allocated to that player.
6. Ensure that the chat option is able to be used by the unit tester.
7. Note the balance before logging out of the game.
8. Logout out of the game.
9. Repeat step 1. to ensure that the player ID and password is unique and the
proper action is taken.
Part Two
3.1.2
1. The unit tester is now to re-log into the virtual casino using the player
created above -- Andrew Noske
2. Ensure that the starting balance of the player matches the ending balance of
the player in the above instance.
3. Press the "View rules" button to view rules are the rules visible
4. Press the "Join a Table" button to ensure the player is automatically
assigned to a table and in the correct position.
5. Log-out of the blackjack game
Part Three
3.1.3
1. Press bet button to ensure that a player is unable
to affect a game state until the next round of blackjack.
2. Ensure that the table has only 4 boxes.
3. Enter a player bet testing the system first by placing no bet
4. Enter a player bet testing the system second by placing a bet under the
minimum.
5. Enter a player bet testing the system thirdly by placing a bet over the
maximum.
6. Ensure a proper action is carried out by the above three steps and is
reflected in their bank balance.
7. Ensure the players playing the game are each dealt two initial cards.
8. Ensure that the dealer is dealt one initial card.
9. Ensure that player playing box one is the only player able to affect that
hand.
10. Ensure that step 9 is repeated for each player.
11. Ensure that a player is unable to adjust their bet after the hand has begun.
12. Ensure that the appropriate buttons are available to Andrew Noske when it is
his turn to play.
13. Ensure that a player is able to decide whether they are able to hit or stay
when it is their turn to decide.
14. Ensure that the default action works if a player decides not to make a
decision.
15. Ensure that the player is unable to hit for any more cards after they have
busted.
16. Ensure that the player is able to stay on any card total.
17. Ensure that once each player has decided on whether or not to hit or stay
that the dealer is given a turn to take its turn.
18. Through out steps 7 to 17 ensure that the cards are reducing in the shoe as
card are being requested by the player.
19. Ensure that when the Dealer card total is 16 or below that the dealer
continues to hit.
20. Ensure that when the Dealers card total is it above 16 and below 22 the
dealer stays.
21. Ensure that when the Dealers card total is above 21 that the dealer busts.
22. Ensure that the outcome is the proper outcome for the following instances.
23. Ensure that when the players card total is less than the dealer that the
players bet is deducted from their bank balance.
Testing for creation of a unique player and password is complete.