Tests/Archive, Backup, Content: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
''see also [[Tests/Installing activities and bundles]]''

===Backup/Archive scenario 1: Basic backup===
===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.
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:''
''Setup:''
Line 7: Line 8:
#Create a document while connected to the school server.
#Create a document while connected to the school server.


''Tests:''
''Actions:''
#While not connected to the school server (at home), make modifications to Parvis' document.
#While not connected to the school server (at home), make modifications to Parvis' document.
#Come back in contact with the school server and ensure that the document gets backed up.
#Come back in contact with the school server
#Go away from the server and edit the document, deleting all by the first word.
#Go away from the server and edit the document, deleting all by the first word.
#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?)
#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?)

''Verify:''
* Ensure that, after coming back into contact with the school server, the document gets backed up.
* That you are able to properly load the previous version of the document when you ask for it.




Line 22: Line 27:
#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)
#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:''
''Actions:''
#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.
#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.
#Manually update the XOs with the upgrade from a USB stick.
#Manually update the XOs with the upgrade from a USB stick.
#Upon boot up, the server should automatically (or manually?) push the user data back down to the XO.
#Upon boot up, the server should automatically (or manually?) push the user data back down to the XO.

#Ensure that all documents and images that were there before the upgrade, show up again after the upgrade.
''Verify:''
* That, when the XOs get connected to the server, their data is automatically backed up.
* Ensure that all documents and images that were there before the upgrade, show up again after the upgrade.

[[Category:Test Plans]]
[[Category:Use cases]]

Latest revision as of 04:04, 27 January 2011

see also Tests/Installing activities and bundles

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.

Actions:

  1. While not connected to the school server (at home), make modifications to Parvis' document.
  2. Come back in contact with the school server
  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?)

Verify:

  • Ensure that, after coming back into contact with the school server, the document gets backed up.
  • That you are able to properly load the previous version of the document when you ask for it.


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)

Actions:

  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.

Verify:

  • That, when the XOs get connected to the server, their data is automatically backed up.
  • Ensure that all documents and images that were there before the upgrade, show up again after the upgrade.