Tests/Implode

From OLPC
< Tests
Revision as of 04:59, 24 March 2008 by 121.72.20.92 (talk)
Jump to navigation Jump to search

Implode Tests

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. pass
New game: a new game is shown.
A new random game is generated with the correct difficulty 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



Opening the activity

Justification: HIG, The activity opens correctly and conforms to the OLPC Human Interface Guidelines.

Actions:

  1. 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:

  1. switch to the Activity tab.
  2. click the Stop button in the top right corner.
  3. 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:

  1. open the journal activity.
  2. select the an Implode activity from the list of activities.
  3. 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:

  1. set the screen to black and white mode.

Verify:

  • The game can still be viewed and played.

Actions:

  1. 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:

  1. select the game difficulty from one of the three difficulty buttons.
  2. 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.


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:

  1. 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.
  2. 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:

  1. 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.
  2. 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:

  1. select at least three blocks that are the same colour and are directly next to each other in either the verticle or horizontal positions.
  2. click one of the blocks in 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.