-
Notifications
You must be signed in to change notification settings - Fork 0
Acceptance Tests
Noah Owens edited this page Oct 17, 2021
·
13 revisions
- GIVEN: Each Player gets 6,000$
- AND: Rest of the money is put into a pile
- WHEN: Each Player draws a tile
- AND: Puts it face up on a matching letter space on a gameboard
- AND: Player 2 plays a card closest to 1A
- THEN: Player 2 plays first. All six players decide as a group whether the money and stocks acquired will be openly displayed
- GIVEN: A Player places a tile next to an unincorporated tile
- AND: A corporation is founded
- WHEN: The founder selects an available corporation building marker
- AND: Places it on anyone of the corporation’s tiles
- THEN: Player receives a free founders bonus stock
- GIVEN: A player places a tile next to an unincorporated tile
- AND: A corporation is founded
- WHEN: The founder selects an available corporation building marker
- AND: The Player is already holding all corporation’s stock cards
- THEN: Player doesn’t receive a founders bonus stock
- GIVEN: A player places a tile next to an unincorporated tile
- AND: A corporation is founded
- WHEN: The founder selects an available corporation building marker
- AND: Player plays a tile that connects two corporations
- AND: A merger takes place
- THEN: The larger corporation absorbs the smaller corporation
- GIVEN: Player One has legally placed a tile
- AND: Resolved all activities involved with placing the tile
- WHEN: Player One requests 2 Stock in Tower
- AND: Correct payment is issued to the stock market tray
- THEN: Requested stock is issued to Player One
- GIVEN: Player One has legally placed a tile
- AND: Resolved all activities involved with placing the tile
- AND: Has a current balance of $0
- WHEN: Player One requests 1 Stock in American
- THEN: An appropriate message is displayed, use case exit
- GIVEN: Player One has legally placed a tile
- AND: Resolved all activities involved with placing the tile
- WHEN: Player One requests 3 Stock in Festival
- AND: All 25 Festival Stock have already been purchased
- THEN: Prompt player for different selection or exit
- GIVEN: A player turn has has ended
- AND: There are tiles left to draw
- WHEN: Player turn begins
- THEN: Player is given the first tile from the facedown cluster of tiles
- GIVEN: Player turn has ended
- AND: There are no tiles left to draw
- WHEN: Player turn begins
- THEN: Player doesn’t receive a tile and no tile is drawn
- GIVEN: Player turn has ended
- AND: One player decides to exit the program
- WHEN: Player presses exit button
- THEN: Program terminates
- GIVEN: A player has 41 or more tiles on the game board, or all corporations are safe
- AND: Player presses end game button
- AND: It is the player’s turn
- WHEN: Player presses end game button
- THEN: End of game begins
- GIVEN: A player presses the end game button
- AND: Not all corporations are safe, and one player doesn’t have 41 or more tiles
- WHEN: Player presses end game button
- THEN: System ignores the button input
- GIVEN: There are no more tiles left to draw
- AND: No player can play a tile
- AND: No player presses the end game button
- WHEN: Next player turn begins
- THEN: End of game begins