Tests/Implode: Difference between revisions
m (put categories at end) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{merge|Tests/Activity/Implode}} |
|||
== Implode Tests == |
== Implode Tests == |
||
''Test results from March 2008'' |
|||
{| border=1 cellspacing=2 cellpadding=2 |
{| border=1 cellspacing=2 cellpadding=2 |
||
Line 11: | Line 14: | ||
| The activity opens properly. || <span style="color:green">pass</span> |
| The activity opens properly. || <span style="color:green">pass</span> |
||
|- |
|- |
||
|colspan="2"| '''Closing the activity''': click the |
|colspan="2"| '''Closing the activity''': click the stop button in the upper-right-hand corner of the activity. |
||
|- |
|- |
||
| The activity closes properly. || <span style="color:green">pass</span> |
| The activity closes properly. || <span style="color:green">pass</span> |
||
Line 21: | Line 24: | ||
| A journal entry for the previous activity session appears. || <span style="color:green">pass</span> |
| A journal entry for the previous activity session appears. || <span style="color:green">pass</span> |
||
|- |
|- |
||
| Clicking on the journal entry restores the activity to an appropriate state. || <span style="color: |
| Clicking on the journal entry restores the activity to an appropriate state. || <span style="color:red">fail: A new game is created instead of restoring the previously keep game from the journal.</span> |
||
|- |
|- |
||
|colspan="2"| ''' |
|colspan="2"| '''Black and white functionality''': set the screen to black and white mode. |
||
|- |
|||
| The game is still easily viewable and playable in black and white mode. || <span style="color:red">fail: Green blocks disappear into the background and are not visible in black and white mode.</span> |
|||
|- |
|||
| The game is still easily viewable and playable in colour mode. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''New game''': a new game is shown. |
|||
|- |
|||
| A new random game is generated with the correct difficulty || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Select the difficulty''': test that a new game is created with the correct difficulty setting. |
|||
|- |
|||
| a new game is created with the correct difficulty setting. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Block selection''': test which groups of block selections are valid. |
|||
|- |
|||
| Non selectable blocks do nothing when clicked. || <span style="color:green">pass</span> |
|||
|- |
|||
| Selectable blocks disappear as expected when clicked. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Replay a game''': test that the game is returned to its original start state. |
|||
|- |
|||
| The game is returned to the same state as when it was created. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Undo a move''': Test that the last valid block selection is undone. Test that invalid boundary cases do nothing. |
|||
|- |
|||
| The valid selection of blocks is undone and the group of blocks is returned to there previous state. || <span style="color:green">pass</span> |
|||
|- |
|||
| When there is nothing to undo nothing happens. || <span style="color:red">fail: When a game is completed the game is reset to it's previous state. This should not happen if the game has been finished. |
|||
|- |
|||
|colspan="2"| '''Redo a move''': That a valid selection that has been undone can be redone. |
|||
|- |
|||
| the previous undo operation has been undone. || <span style="color:green">pass</span> |
|||
|- |
|||
| no new blocks are added or removed in the process of the redo operation. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Finish a game''': Test that a game finishes correctly for all difficulty levels. |
|||
|- |
|||
| you are greeted with a smiley face once all the blocks have been removed and it is not currupted in any way. || <span style="color:green">pass</span> |
|||
|- |
|||
| you can click the difficulty and new game button once finished and a new game is created and the smiley face is removed. || <span style="color:red">fail: If you click on the new game button before the smiley face has finished forming the smiley face is not removed when a new game is created.</span> |
|||
|- |
|- |
||
| Additional tests will be placed here soon || - |
|||
|} |
|} |
||
== Opening the activity == |
|||
Justification: |
|||
==Opening the activity== |
|||
Actions: |
|||
''Justification'': [[HIG]], The activity opens correctly and conforms to the OLPC Human Interface Guidelines. |
|||
''Actions'': |
|||
# start the Implode activity by clicking on the corresponding icon on the taskbar. |
# start the Implode activity by clicking on the corresponding icon on the taskbar. |
||
Verify: |
''Verify'': |
||
* that the Implode icon is added to the activity doughnut. |
* that the Implode icon is added to the activity doughnut. |
||
* that the Implode icon pulses to indicate the activity starting up. |
* that the Implode icon pulses to indicate the activity starting up. |
||
* that the Implode activity starts properly. |
* that the Implode activity starts properly. |
||
* that the window shows a new board and the game tab is selected. |
* that the window shows a new board and the game tab is selected. |
||
==Close the activity== |
==Close the activity== |
||
Justification: |
''Justification'': [[HIG]], The activity closes correctly. |
||
Actions: |
''Actions'': |
||
# switch to the Activity tab. |
# switch to the Activity tab. |
||
# click the |
# click the Stop button in the top right corner. |
||
# you can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity |
# you can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity |
||
Verify: |
''Verify'': |
||
* that clicking the |
* that clicking the Stop button closes the Implode activity. |
||
* that the Implode icon disappears from the activity doughnut. |
* that the Implode icon disappears from the activity doughnut. |
||
== Journal functionality == |
|||
Justification: |
|||
==Journal functionality== |
|||
Actions: |
|||
''Justification'': [[HIG]], The activity can be resumed from the journal. |
|||
''Actions'': |
|||
# open the journal activity. |
# open the journal activity. |
||
# select the an Implode activity from the list of activities. |
|||
# resume the Implode activity by doing one of the following: |
|||
#* click on the 'direct launcher' button to the right side of the entry. |
|||
#* click on the entry and use the "Resume" button to resume the entry with the desired activity. |
|||
#* click on the Implode activity icon. |
|||
Verify: |
''Verify'': |
||
* A journal entry for the previous activity session appears. |
* A journal entry for the previous activity session appears. |
||
* Clicking on the journal entry restores the activity to an appropriate state. |
* Clicking on the journal entry restores the activity to an appropriate state. ie the activity should look like the image found in the journal when an implode activity is selected. |
||
==Black and white functionality== |
|||
''Justification'': [[HIG]], The game can be viewed and played in black and white mode. |
|||
''Actions'': |
|||
# set the screen to black and white mode. |
|||
''Verify'': |
|||
* The game can still be viewed and played. |
|||
''Actions'': |
|||
# set the screen to colour mode. |
|||
''Verify'': |
|||
* The game can still be viewed and played. |
|||
==New game== |
|||
''Justification'': A new game is created using the correct difficulty. |
|||
''Action'': |
|||
# select the game difficulty from one of the three difficulty buttons. |
|||
# click the new game button. |
|||
''Verify'': |
|||
* the previous game is removed. |
|||
* a new randomly generated game is displayed in the block selection area. |
|||
* the correct game is formed based on the difficulty selection. |
|||
* the game can be solved. |
|||
==Select the difficulty== |
|||
''Justification'': A new difficulty setting can be selected. |
|||
''Actions'': |
|||
# select a difficulty button. |
|||
# click the new game button. |
|||
# for each difficulty check that a valid game has been created with roughly the correct number of blocks for the difficulty setting. |
|||
# repeat this process for all difficulty buttons. |
|||
''Verify'': |
|||
* for the easy difficulty a valid game has been created and there are fewer blocks than the other difficulty levels. |
|||
* for the medium difficulty check that a valid game has been created and the number of blocks is between the easy difficulty and the hard difficulty. |
|||
* for the hard difficulty check that a valid game has been created and the number of blocks is greater than the other two difficuly settings. |
|||
==Block selection== |
|||
''justification'': Test which groups of block selections are valid. Blocks are divided into two categories, those that can be selected and those that can not be selected. |
|||
''NOTE'': The currently selected block is shown with a white dot in the center of it. This does not sometimes correspond to where the mouse is if the mouse is outside the block selection area. When the mouse is clicked it is the block with the white dot in it that is acted upon. This is also true of empty spaces within the block selection area. |
|||
====Non selectable blocks==== |
|||
''Actions'': |
|||
# move the mouse over any single block that is not directly next to any other block of the same colour both in the verticle and horizontal positions and click on it. ie blocks that are on a diagonal and are the same colour or single blocks. |
|||
# click the block. |
|||
''Verify'': |
|||
* there is no white border around the block as the mouse moves over it. |
|||
* clicking the block does not remove the block or any surrounding blocks. |
|||
''Actions'': |
|||
# move the mouse over two blocks that are the same color and are directly next to each other in either the verticle or horizontal positions. |
|||
# click either one of the blocks. |
|||
''Verify'': |
|||
* there is no white border around the block as the mouse moves over it. |
|||
* clicking the block does not remove the block or any surrounding blocks. |
|||
====Selectable blocks==== |
|||
''Actions'': |
|||
# select at least three blocks that are the same colour and are directly next to each other in either the verticle or horizontal positions. |
|||
# click one of the blocks within the test group of blocks. |
|||
''Verify'': |
|||
* when the mouse is hovered over the blocks there is a white border shown around all the connected blocks that are selectable within this group of blocks. |
|||
* when clicked the blocks disappear and the blocks directly above slide down and then if possible slide to the left if a gap has formed vertically where the group of blocks used to be. |
|||
* there is no empty space between blocks. |
|||
==Replay a game== |
|||
''Justification'': The game is returned to a state that is the same as when the game was created. |
|||
''Actions'': |
|||
# click on the new game button to create a new instance of a game. |
|||
# make a note of how the blocks are laid out in the block selection area. |
|||
# select some blocks so that they disappear so that the game does not look the same as when it was started. |
|||
# click on the replay button. |
|||
''Verify'': |
|||
* after clicking the replay button that the game now looks the same as when it was started. |
|||
* there is no empty spaces between any of the blocks. |
|||
==Undo a move== |
|||
''Justifiction'': Test that the last valid block selection is undone. Test that invalid boundary cases do nothing. |
|||
''Actions'': |
|||
# click on any selectable group of blocks. |
|||
# click the undo button. |
|||
''Verify'': |
|||
* the valid selection of blocks is undone and the group of blocks is returned to there previous state. |
|||
''Actions'': |
|||
# click on the new game button. |
|||
# click the undo button. |
|||
''Verify'': |
|||
* Nothing happens to the block selection area. |
|||
''Actions'': |
|||
# complete a game so that the smiley face shows on the screen. |
|||
# click the undo button. |
|||
''Verify'': |
|||
* nothing happens. |
|||
==Redo a move== |
|||
''Justifiction'': That a valid selection that has been undone can be redone. |
|||
''Actions'': |
|||
# click on a selectable group of blocks. |
|||
# click the undo button. |
|||
# click the redo button. |
|||
''Verify'': |
|||
* the previous undo operation has been undone and the blocks are returned to there previous state before the undo. |
|||
* no new blocks are added or removed in the process of the redo operation. |
|||
==Finish a game== |
|||
''Justification'': Test that a game finishes correctly for all difficulty levels. |
|||
''Actions'': |
|||
== Activity functionality == |
|||
# select a difficulty level. |
|||
# click the new game button. |
|||
# click on valid groups of blocks until there are no more blocks. |
|||
# repeat for all difficulty levels. |
|||
''Verify'': |
|||
* you are greeted with a smiley face that is not currupted in any way once all the blocks have been removed. |
|||
* you can click the difficulty and new game button once a game is finished and a new game is created and the smiley face is removed. |
|||
* the undo and redo buttons do nothing. |
|||
[[category:tests]] |
[[category:tests]] |
||
[[Category:Test results]] |
Latest revision as of 05:26, 17 November 2008
Implode Tests
Test results from March 2008
Action | Result |
---|---|
Opening the activity: click on the activity icon. | |
The icon appears in the activity donut, and pulses during activity startup. | pass |
The activity opens properly. | pass |
Closing the activity: click the stop button in the upper-right-hand corner of the activity. | |
The activity closes properly. | pass |
The icon disappears from the activity donut. | pass |
Journal functionality: open the journal activity. | |
A journal entry for the previous activity session appears. | pass |
Clicking on the journal entry restores the activity to an appropriate state. | fail: A new game is created instead of restoring the previously keep game from the journal. |
Black and white functionality: set the screen to black and white mode. | |
The game is still easily viewable and playable in black and white mode. | fail: Green blocks disappear into the background and are not visible in black and white mode. |
The game is still easily viewable and playable in colour mode. | pass |
New game: a new game is shown. | |
A new random game is generated with the correct difficulty | pass |
Select the difficulty: test that a new game is created with the correct difficulty setting. | |
a new game is created with the correct difficulty setting. | pass |
Block selection: test which groups of block selections are valid. | |
Non selectable blocks do nothing when clicked. | pass |
Selectable blocks disappear as expected when clicked. | pass |
Replay a game: test that the game is returned to its original start state. | |
The game is returned to the same state as when it was created. | pass |
Undo a move: Test that the last valid block selection is undone. Test that invalid boundary cases do nothing. | |
The valid selection of blocks is undone and the group of blocks is returned to there previous state. | pass |
When there is nothing to undo nothing happens. | fail: When a game is completed the game is reset to it's previous state. This should not happen if the game has been finished. |
Redo a move: That a valid selection that has been undone can be redone. | |
the previous undo operation has been undone. | pass |
no new blocks are added or removed in the process of the redo operation. | pass |
Finish a game: Test that a game finishes correctly for all difficulty levels. | |
you are greeted with a smiley face once all the blocks have been removed and it is not currupted in any way. | pass |
you can click the difficulty and new game button once finished and a new game is created and the smiley face is removed. | fail: If you click on the new game button before the smiley face has finished forming the smiley face is not removed when a new game is created. |
Opening the activity
Justification: HIG, The activity opens correctly and conforms to the OLPC Human Interface Guidelines.
Actions:
- start the Implode activity by clicking on the corresponding icon on the taskbar.
Verify:
- that the Implode icon is added to the activity doughnut.
- that the Implode icon pulses to indicate the activity starting up.
- that the Implode activity starts properly.
- that the window shows a new board and the game tab is selected.
Close the activity
Justification: HIG, The activity closes correctly.
Actions:
- switch to the Activity tab.
- click the Stop button in the top right corner.
- you can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity
Verify:
- that clicking the Stop button closes the Implode activity.
- that the Implode icon disappears from the activity doughnut.
Journal functionality
Justification: HIG, The activity can be resumed from the journal.
Actions:
- open the journal activity.
- select the an Implode activity from the list of activities.
- resume the Implode activity by doing one of the following:
- click on the 'direct launcher' button to the right side of the entry.
- click on the entry and use the "Resume" button to resume the entry with the desired activity.
- click on the Implode activity icon.
Verify:
- A journal entry for the previous activity session appears.
- Clicking on the journal entry restores the activity to an appropriate state. ie the activity should look like the image found in the journal when an implode activity is selected.
Black and white functionality
Justification: HIG, The game can be viewed and played in black and white mode.
Actions:
- set the screen to black and white mode.
Verify:
- The game can still be viewed and played.
Actions:
- set the screen to colour mode.
Verify:
- The game can still be viewed and played.
New game
Justification: A new game is created using the correct difficulty.
Action:
- select the game difficulty from one of the three difficulty buttons.
- click the new game button.
Verify:
- the previous game is removed.
- a new randomly generated game is displayed in the block selection area.
- the correct game is formed based on the difficulty selection.
- the game can be solved.
Select the difficulty
Justification: A new difficulty setting can be selected.
Actions:
- select a difficulty button.
- click the new game button.
- for each difficulty check that a valid game has been created with roughly the correct number of blocks for the difficulty setting.
- repeat this process for all difficulty buttons.
Verify:
- for the easy difficulty a valid game has been created and there are fewer blocks than the other difficulty levels.
- for the medium difficulty check that a valid game has been created and the number of blocks is between the easy difficulty and the hard difficulty.
- for the hard difficulty check that a valid game has been created and the number of blocks is greater than the other two difficuly settings.
Block selection
justification: Test which groups of block selections are valid. Blocks are divided into two categories, those that can be selected and those that can not be selected.
NOTE: The currently selected block is shown with a white dot in the center of it. This does not sometimes correspond to where the mouse is if the mouse is outside the block selection area. When the mouse is clicked it is the block with the white dot in it that is acted upon. This is also true of empty spaces within the block selection area.
Non selectable blocks
Actions:
- move the mouse over any single block that is not directly next to any other block of the same colour both in the verticle and horizontal positions and click on it. ie blocks that are on a diagonal and are the same colour or single blocks.
- click the block.
Verify:
- there is no white border around the block as the mouse moves over it.
- clicking the block does not remove the block or any surrounding blocks.
Actions:
- move the mouse over two blocks that are the same color and are directly next to each other in either the verticle or horizontal positions.
- click either one of the blocks.
Verify:
- there is no white border around the block as the mouse moves over it.
- clicking the block does not remove the block or any surrounding blocks.
Selectable blocks
Actions:
- select at least three blocks that are the same colour and are directly next to each other in either the verticle or horizontal positions.
- click one of the blocks within the test group of blocks.
Verify:
- when the mouse is hovered over the blocks there is a white border shown around all the connected blocks that are selectable within this group of blocks.
- when clicked the blocks disappear and the blocks directly above slide down and then if possible slide to the left if a gap has formed vertically where the group of blocks used to be.
- there is no empty space between blocks.
Replay a game
Justification: The game is returned to a state that is the same as when the game was created.
Actions:
- click on the new game button to create a new instance of a game.
- make a note of how the blocks are laid out in the block selection area.
- select some blocks so that they disappear so that the game does not look the same as when it was started.
- click on the replay button.
Verify:
- after clicking the replay button that the game now looks the same as when it was started.
- there is no empty spaces between any of the blocks.
Undo a move
Justifiction: Test that the last valid block selection is undone. Test that invalid boundary cases do nothing.
Actions:
- click on any selectable group of blocks.
- click the undo button.
Verify:
- the valid selection of blocks is undone and the group of blocks is returned to there previous state.
Actions:
- click on the new game button.
- click the undo button.
Verify:
- Nothing happens to the block selection area.
Actions:
- complete a game so that the smiley face shows on the screen.
- click the undo button.
Verify:
- nothing happens.
Redo a move
Justifiction: That a valid selection that has been undone can be redone.
Actions:
- click on a selectable group of blocks.
- click the undo button.
- click the redo button.
Verify:
- the previous undo operation has been undone and the blocks are returned to there previous state before the undo.
- no new blocks are added or removed in the process of the redo operation.
Finish a game
Justification: Test that a game finishes correctly for all difficulty levels.
Actions:
- select a difficulty level.
- click the new game button.
- click on valid groups of blocks until there are no more blocks.
- repeat for all difficulty levels.
Verify:
- you are greeted with a smiley face that is not currupted in any way once all the blocks have been removed.
- you can click the difficulty and new game button once a game is finished and a new game is created and the smiley face is removed.
- the undo and redo buttons do nothing.