Tests

From OLPC
Revision as of 23:36, 3 June 2007 by Kimquirk (talk | contribs)
Jump to: navigation, search

User Stories

User Stories are meant to provide a narrative description of how the OLPC products will be used in schools and homes. These stories provide the basis for Use Case or System Tests that will help ensure we have prioritized and documented the most important uses of our products in the field.

High level topics for User Stories can be divided into a few major categories:

  1. Tests - Start up and Activation
  2. Tests - Connectivity and Collaboration
  3. Tests - Archive, Backup, Content




Backup/Archive scenario 1: Basic backup

Parvis goes to a school where he gets connected to the server every day. One day he inadvertently deleted a document that he had spent many days working on.


Setup:

  1. Set up Parvis' XO to register with the server.
  2. Create a document while connected to the school server.

Tests:

  1. While not connected to the school server (at home), make modifications to Parvis' document.
  2. Come back in contact with the school server and ensure that the document gets backed up.
  3. Go away from the server and edit the document, deleting all by the first word.
  4. Get reconnected to the school server and ask for the previous version of the document (do you need to be near the server for this, or are the last few versions saved on the XO?)


Upgrade scenario 1: Manual upgrade

The São Paulo school has decided it will upgrade all XOs just before a 2-week school vacation. This will give the students time to find any bugs before school starts up again. It will also give the teachers time to create new programs using the new code as well.

Setup:

  1. From the school server UI, set up the automatic complete userspace back up capability. The next time the server sees each XO, it will ensure an automatic back up of the userspace.
  2. Set up 5 XOs as student laptops.
  3. Create an Abiword doc, 2 images, and a TamTam musical score on each of the XOs (we need to be specific about what is saved; and which activities should be part of this test)

Tests:

  1. Check that when each of the XOs gets connected to the server after the auto backup has been set; they will automatically back up their data to the server.
  2. Manually update the XOs with the upgrade from a USB stick.
  3. Upon boot up, the server should automatically (or manually?) push the user data back down to the XO.
  4. Ensure that all documents and images that were there before the upgrade, show up again after the upgrade.