Docstoc

pocket pc games

Document Sample
pocket pc games Powered By Docstoc
					                       TEST PLAN
                            For
                   Pocket PC Tetris Game

Introduction
This test plan is for the purpose of testing the Tetris game designed and developed by
Intelligent Design. Intelligent Design plans to test the Tetris game utilizing a Pocket PC
2003 SE Emulator. This emulator will allow the game to be executed in a pocket pc
environment. This product will be tested using a Black box strategy. White box testing
will be done by the developer as he develops the code. As this product evolves,
regression test will be performed for all new changes/additions to the game.

Personnel
Name                   Role                           E-mail___________________
Stephen McVey          Project Manager                csu17817@mail.claytonstate.net
Barry Casebeer         Document manager               csu12598@mail.claytonstate.net
David Hutcherson       Developer                      csu20987@mail.claytonstate.net
Rhonda Dillon          Tester & Customer Liaison      csu16900@mail.claytonstate.net




Test Cases
1. Graphical Interface
        Test Number 1.1

        Purpose
        This test case covers requirements 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6,
        and 1.3. The following tests will assure that the graphical interface coincides with
        the Pocket PC environment, and that the blocks are easily identified. This test
        case will assure that the color schemes are appropriate, and that the user can
        visually comprehend the game.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions


OrigTestPlan.doc                            Page 1                                    5/4/2006
                       Team ID Test Plan for Pocket PC Tetris: Version 1.1


        The test should reveal that the color schemes are appropriate. The blocks can be
        easily identified, and the user can visually comprehend the game.

        Initiation: Launch the Tetris game on the Pocket PC.

        Step 1
        Description: Verify screen resolution.
        Expected Results: The screen resolution is 240 X 320 pixels.

        Step 2
        Description: Verify the color schemes of the blocks that are dropping. Verify the
        color of the group of blocks in the preview pane.
        Expected Results: All of the squares of a block are of the same the color. If the
        preview pane has a new block, the color of the new block in the preview pane
        will be different from that of the previous block dropped in the active game
        window. Each block has a distinctive color.

        Step 3
        Description: Check to see that the screen has a standard game layout design.
        Expected Results: There is an active game window positioned at the left side of
        the display screen. A preview pane window is located on the upper right corner
        of the display screen. Above the preview pane window is the score. A Start/New
        button is located below the preview pane. A Pause/Unpause button is located
        below the Start/New Game button.

        Step 4
        Description: Check to see if there are menu options at the bottom portion of the
        screen.
        Expected Results: There is an option to view an About menu.


2. System Controls and Configuration
        Test Number 2.1

        Purpose
        This test case covers requirements 2.1, 2.1.1.1, 2.1.1.1.1, 2.1.1.1.2, 2.1.1.1.3,
        2.1.1.1.4, 2.1.1.1.5, and 2.1.1.1.6. These tests will assure that the controls and
        configuration of the Tetris game are compatible and functional on the Pocket PC.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        These tests confirm that the controls of the Pocket PC are functional and able to
        control and manipulate the blocks in the Tetris game.



OrigTestPlan.doc                             Page 2                                 5/4/2006
                       Team ID Test Plan for Pocket PC Tetris: Version 1.1




        Initiation: Launch the game and click on the external buttons to control the
        blocks in the game:

        Step 1
        Description: Press the left arrow button toward the left side of the screen.
        Expected Results: Pressing the left arrow button moves the object to the left.

        Step 2
        Description: Press the right arrow button toward the right side of the screen.
        Expected Results: Pressing the right arrow button moves the object to the right.

        Step 3
        Description: Hold down the arrow button to see if the block advances downward
        at a faster rate. Analyze the rate to which the block is moving.
        Expected Results: Pressing the down arrow button advances the object
        downward. The longer the button is pressed, the faster the object falls.

        Step 4
        Description: Tap the button down arrow to see if the block advances to the
        downward position relative to the blocks horizontal position at that moment.
        Expected Results: Pressing the down arrow advances the object downward
        relative to the blocks horizontal position.

        Step 5
        Description: Tap the Up arrow button to see if the blocks rotate clockwise.
        Expected Results: Pressing the up arrow rotates the block clockwise.

        Step 6
        Description: Tap the middle button to see if the block rotates counterclockwise.
        Expected Results: Pressing the middle button rotates the block
        counterclockwise..




3. Logical and Technical Design

        Test Number 3.1

        Purpose
        This test case covers requirement 3.1, 3.1.1, 3.1.2, 3.1.3, and 3.1.4. This test
        verifies that there is a Menu item for the About Game screen and it displays its
        contents.

        Preconditions


OrigTestPlan.doc                             Page 3                                 5/4/2006
                        Team ID Test Plan for Pocket PC Tetris: Version 1.1


        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        There is a menu item for the About Game screen. The contents contain the
        Title of the game, names of the design team, the version of the game and the last
        date modified

        Initiation: Launch the Game.

        Step 1
        Description: A menu item exists at the bottom portion of the
        Screen. Select the About Game menu item.
        Expected Results: A pop-up window appears with the title of the game,
        the names of the design team, the current version number of the game,
        and the last date modified.


        Test Number 3.2

        Purpose
        This test case covers requirements 3.2, 3.2.1, 3.2.1.1, 3.2.1.1.1, 3.2.1.2, 3.2.1.2.1,
        and 3.7. This test verifies that the user is prompted with a window that asks for
        some preliminary input; and that there is a menu item for the difficulty selection
        menu and display its contents. This will also verify whether or not the optional
        preview pane window appears when either the easy or hard levels are chosen.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        There is a menu item to select the difficulty level of the game. The contents
        contain a selection of easy or hard. When a selection is made for the easy
        level, a preview pane will be displayed for the user. When a selection is made
        for the hard level, the preview pane is hidden from the user.

        Initiation: Launch the Game.

        Step 1
        Description: A menu item exists at the bottom portion of the
        Screen. Select the difficulty selection menu item.
        Expected Results: A pull down menu appears with the options of
        Easy or Hard.

        Step 2
        Description: A selection is made for the easy level.
        Expected Results: The preview pane is displayed.



OrigTestPlan.doc                              Page 4                                   5/4/2006
                        Team ID Test Plan for Pocket PC Tetris: Version 1.1


        Step 3
        Description: A selection is made for the hard level.
        Expected Results: The preview pane does not exist.


        Test Number 3.3

        Purpose
        This test case covers requirements 3.2.2, 3.2.2.1, 3.2.2.1.1, 3.2.2.2, 3.2.2.2.1,
        3.2.3.3, and 3.2.2.3.1. This test case will verify that there is a menu item selection
        for the speed the blocks will travel during the game. This test case will also
        verify the rate at which the blocks will move with each selection.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        There is a menu item that allows a user to select the level of speed that the blocks
        will travel in the game. The content contains a selection of “0”, “1”, or “2”.
        When a selection is made for “0”, the rate the blocks travel is normal, 1,000
        milliseconds. When a selection is made for “1”, the rate the block travels is 100
        milliseconds from the normal speed. When a selection is made for “2”, the rate
        the block travels is 200 milliseconds from the normal speed.

        Initiation: Launch the Game.

        Step 1
        Description: A menu item exists for speed level at the bottom portion of the
        screen. Select the Speed Level menu item.
        Expected Results: A pull down menu appears with the options of
        “0”, “1”, or “2”.

        Step 2
        Description: A selection is made for “0”.
        Expected Results: The blocks start out at normal speed, 1,000 milliseconds.

        Step 3
        Description: A selection is made for “1”.
        Expected Results: The blocks start out at normal speed, 100 milliseconds from
        the normal speed.

        Step 4
        Description: A selection is made for “2”.
        Expected Results: The blocks start out at normal speed, 200 milliseconds from
        the normal speed.




OrigTestPlan.doc                              Page 5                                  5/4/2006
                       Team ID Test Plan for Pocket PC Tetris: Version 1.1


        Test Number 3.4

        Purpose
        This test case covers requirements 3.3, 3.3.1. Performing these tests will assure
        that the row eliminates and a score is provided, when the row is completely filled
        up with blocks.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The row eliminates and a score is provided when the row is filled up completely
        with blocks.

        Initiation: Launch the game and start playing.

        Step 1
        Description: Allow objects to fill up one row completely.
        Expected Results: The filled row disappears and a score is added.
        score.


        Test Number 3.5

        Purpose
        This test case covers requirements 3.3.1.1. Performing this test will assure that
        the row eliminates and a score is provided, when one (1) row is completely filled
        up with blocks.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The rows eliminate and a score is provided when one (1) row is completely filled
        up with blocks.

        Initiation: Launch the game and start playing.

        Step 1
        Description: Allow objects to fill up 1 row completely.
        Expected Results: The filled row disappears and 10 points are added to the
        players score.


        Test Number 3.6

        Purpose



OrigTestPlan.doc                             Page 6                                5/4/2006
                       Team ID Test Plan for Pocket PC Tetris: Version 1.1


        This test case covers requirements 3.3.1.2. Performing this test will assure that
        when two (2) rows are filled up simultaneously with blocks, the row eliminates
        and a score is provided.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The row eliminates and a score is provided when two (2) rows are filled up
        simultaneously with blocks.

        Initiation: Launch the game and start playing.

        Step 1
        Description: Allow objects to fill up 2 rows simultaneously.
        Expected Results: The filled row disappears and 200 points are added to the
        players score.


        Test Number 3.7

        Purpose
        This test case covers requirements 3.3.1.3. Performing this test will assure that
        when three (3) rows are filled up simultaneously with blocks, the row eliminates
        and a score is provided.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The row eliminates and a score is provided when three (3) rows are
        simultaneously filled up with blocks.

        Initiation: Launch the game and start playing.

        Step 1
        Description: Allow objects to fill up 3 rows simultaneously.
        Expected Results: The filled row disappears and 3,000 points are added to the
        players score.


        Test Number 3.8

        Purpose
        This test case covers requirements 3.3.1.4. Performing this test will assure that
        when four (4) rows are filled up simultaneously with blocks, the row eliminates
        and a score is provided.


OrigTestPlan.doc                             Page 7                                 5/4/2006
                       Team ID Test Plan for Pocket PC Tetris: Version 1.1




        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The row eliminates and a score is provided when four (4) rows are simultaneously
        filled up with blocks.

        Initiation: Launch the game and start playing.

        Step 1
        Description: Allow objects to fill up 4 rows simultaneously.
        Expected Results: The filled row disappears and 40,000 points are added to the
        Players score.


        Test Number 3.9

        Purpose
        This test case covers requirement 3.4.1. This test assures
        that the blocks properly rotate clockwise.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The blocks rotate clockwise.

        Initiation: Launch the Game and start playing.

        Step 1
        Description: Press the Up button.
        Expected Results: The blocks turn clockwise.


        Test Number 3.10

        Purpose
        This test case covers requirement 3.4.2. This test will assure that the blocks
        properly rotate counterclockwise.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        This test confirms that the middle button on the Pocket PC will turn the blocks
        counterclockwise in the Tetris game.


OrigTestPlan.doc                             Page 8                                  5/4/2006
                        Team ID Test Plan for Pocket PC Tetris: Version 1.1




        Initiation: Launch the game.

        Step 1
        Description: Press the middle button.
        Expected Results: The blocks turn counterclockwise.


        Test Number 3.11

        Purpose
        This test case covers requirements 3.5 and 3.6. This test assures
        that the blocks are able to detect collisions with other blocks. In addition,
        this test will make sure that when the blocks reach the top of the screen,
        the game is over.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The blocks detect collisions with other blocks when the line is not clear.
        The game ends when the blocks reach the top of the screen.

        Initiation: Launch the Game and start playing

        Step 1
        Description: While playing the game, if the line is not clear, the blocks begin to
        collide with each other.
        Expected Results: The blocks reach the top of the screen and the game ends.


        Test Number 3.12

        Purpose
        This test case covers requirements 3.6.1 and 3.6.1.1. This test assures
        that at the end of the game, the user will be prompted by a pop up window, and
        the window will ask the user his/her name. This test will also assure that the
        user’s score will be displayed after typing in their name.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        A pop up window is displayed and upon entering a user’s name, the user’s score
        is displayed.

        Initiation: Launch the Game and start playing.


OrigTestPlan.doc                              Page 9                                    5/4/2006
                        Team ID Test Plan for Pocket PC Tetris: Version 1.1




        Step 1
        Description: The game ends and a pop up window appears asking the
        user to input his/her name. A name is typed in the window.
        Expected Results: A final score appears.


        Test Number 3.13

        Purpose
        This test case covers requirements 3.8, 3.8.1, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, and
        3.8.7. The test will verify that all of the block types described in the above
        requirements are utilized in the game.
        .
        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.

        Post-conditions
        The following block types will be utilized: Box shape, L Shape, J shape, Z shape,
        S shape, Line shape, and T shape.

        Initiation: Launch the Game.

        Step 1
        Description: Verify that box shape objects are used in the game.
        Expected Results: Observed Box shape objects being used.

        Step 2
        Description: Verify that L shape objects are used in the game.
        Expected Results: Observed L shape objects being used.

        Step 3
        Description: Verify that J shape objects are used in the game.
        Expected Results: Observed J shape objects being used.

        Step 4
        Description: Verify that Z shape objects are used in the game.
        Expected Results: Observed Z shape objects being used.

        Step 5
        Description: Verify that S shape objects are used in the game.
        Expected Results: Observed S shape objects being used.

        Step 6
        Description: Verify that Line shape objects are used in the game.
        Expected Results: Observed Line shape objects being used.



OrigTestPlan.doc                             Page 10                                   5/4/2006
                        Team ID Test Plan for Pocket PC Tetris: Version 1.1




        Step 7
        Description: Verify that T shape objects are used in the game.
        Expected Results: Observed T shape objects being used.


        Test Number 3.14

        Purpose
        This test case covers requirement 3.9. This test assures
        that the executable file deploys the Tetris application to the pocket PC,
        and the executable file sorts it under the game menu. This will also verify
        that the Tetris game runs after the transfer of the Tetris application on to
        the pocket PC

        Preconditions
        There must be an installation file on a functional PC. There must exist a
        Transmission medium to transfer the installation file to the pocket PC.

        Post-conditions
        After the installation file is transferred on to the Pocket PC, an executable file
        is accessible through the game menu, which will allow the user to load the
        Tetris game on to the pocket PC.

        Initiation: The Tetris application is transferred to the pocket PC via a
        transmission medium.

        Step 1
        Description: Locate the Game menu under program files on the Pocket PC.
        Click on the Game menu to verify that the Tetris installation file is deployed.
        Expected Results: There exists a Tetris installation file on the Pocket PC.

        Step 2
        Description: Go to the Game menu and select the Tetris installation file.
        Expected Results: The Tetris file executes and the game appears on the pocket
        PC and is operational.

        Test Number 3.15

        Purpose
        This test case covers requirement 3.10 and 3.11. This test assures
        that there is a New Game button to restart the game, and it’s functional.
        Also, there is a Pause button to stop clock and movement of
        Blocks.

        Preconditions
        The game must be loaded on the Pocket PC 2003 SE Emulator.


OrigTestPlan.doc                             Page 11                                   5/4/2006
                             Team ID Test Plan for Pocket PC Tetris: Version 1.1




         Post-conditions
         The New game button exists and is functional. The Pause button exists
         and is functional.

         Initiation: Launch the Game.

         Step 1
         Description: Press the New Game button.
         Expected Results: A new game begins and the block starts descending.

         Step 2
         Description: Press the Pause button.
         Expected Results: The game pauses and no blocks are moving.




Build Schedule

4. Build 1 (February 24, 2006)
Completed Requirements
1.1, 1.2, 1.3, 1.3.1, 1.3.2, 1.3.3, 2.1, 2.1.1.1, 2.1.1.1.1, 2.1.1.1.2, 2.1.1.1.3, 2.1.1.1.4,
2.1.1.1.5, 2.1.1.1.6, 3.4, 3.4.1, 3.4.2, 3.8, 3.8.1, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7

Tests to be performed on this build
1.1, 2.1, 3.10, 3.11, 3.12



5. Build 2 (March 19, 2006)
Completed Requirements
All from Build 1 plus 3.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.2.2, 3.2.2.1, 3.2.2.1.1, 3.2.2.1.2,
3.2.2.2.1, 3.3, 3.3.1, 3.3.1.1, 3.3.1.2, 3.3.1.3, 3.3.1.4, 3.5, 3.6, 3.6, 3.7

Tests to be performed on this build
3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11




OrigTestPlan.doc                                  Page 12                                  5/4/2006
                             Team ID Test Plan for Pocket PC Tetris: Version 1.1



6. Build 3 ( April 20, 2006)
Completed Requirements
All from Build 1 and 2, plus 3.6.1, 3.6.1.1, 3.9, 3.10, 3.11

Tests to be performed on this build
3.12, 3.14, 3.15




Errors Report
Error No Found By When Status Description__________________
1                  David            3/12/06 fixed           Game over fills
2                  David            3/1/06 fixed            Ghost block exists
3                  Stephen          4/3/06   fixed          New game button didn’t work




OrigTestPlan.doc                                  Page 13                                 5/4/2006