TestPlan 8.2.0: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Fix Etoys spelling)
 
(44 intermediate revisions by 4 users not shown)
Line 1: Line 1:
===OLPC Test Areas/Features for 8.2.0===
===OLPC Test Areas/Features for 8.2.0===


This is a work-in-progress...
This is a draft.


Major test areas/features to be covered are:
Below is the major test areas/features list that will be used to create [[Test cases 8.2.0|8.2.0 test cases]]:


==== Network Connectivity/Collaboration====


Connectivity and ability to browse the web from WEP and WPA access points.
====Collaboration/Connectivity====


Sharing between XOs on a simple mesh.
Between XOs with simple mesh (associate with other XO or Active-Antenna 802.11s meshes).


Between XOs with a school server with an active antenna and an access point (associate with 802.11 b/g access points with or without WEP and WPA1 encryption).
Between XOs with a school server with an 802.11 b/g access point (with or without WEP and WPA/WPA2 encryption). Access point connectivity is currently a priority.


Active Antenna (low priority for 8.2)
In a mixed environment.


In a mixed environment (when various wireless points of contact are present in the area), allow switching between different modes of connectivity.
====Journal ====


Please see use cases that describe connectivity testing in more detail: [[Use_Cases]]
List, search, and filter records of actions on the system by time


==== School Server Backup Feature====
filter records of actions by title


Register and automatically save files to school server
====Datastore====


Restore files from school server to XO.
Be able to display and edit DOC, ODT, JPEG, PNG, GIF, WAV, OGG, HTML, JS, some SWF, and several other less-well known formats.


====Journal/Datastore ====
We expect NOT to be able to display [go/Restricted_Formats restricted formats] including MP3, MPEG, most AVI, RM, FLV, etc.


Be able to save and retrieve activities and files from the Journal.


List, search, and filter records of actions on the system by time, title, or type.
==== Power Management (Power Control & Conservation)====


Be able to display and edit text (rtf, pdf, x-pdf, doc, html), image (png, jpeg, gif), audio (ogg, x-wav, wav), video (ogg, mpeg, avi) formats.
When the lid is closed or when the power button is pressed while Sugar is running, suspend in order to conserve power.


==== Activity Updater ====
Resume from suspend in response to lid opening or power-button presses


This is located in the sugar control panel, but is being identified here as it needs to be get specific test cases.
Cut power by holding the power button for several seconds


Be able to upgrade Activities based on the default location of Activites.
Power off or reset the machine via the Central XO-person's Palette


Be able to upgrade Activities based on the G1G1/8.2 version of activities.
Control screen brightness and suspend state from the root command-line


Be able to upgrade Activities based on the Peru version, 8.2. (Lower priority as this needs to work for 8.2.1).
Control screen brightness with the brightness keys in Sugar




==== Power Management (Power Control & Conservation)====
==== Installation/Upgrade ====


When the lid is closed or when the power button is pressed quickly while Sugar is running, suspend the machine in order to conserve power.
Must be able to cleaninstall from a production image to a laptop. All data is lost. [[Tests/Boot/Cleaninstall]]


Resume from suspend in response to lid opening or quickly pressing the power-button.
W/ internet or preparation: install new activities and library content on a raw OS via the internet or via USB keys.


Power off a machine by holding the power button for several seconds.
W/ internet: olpc-update to new versions of the operating system via the internet. Data in /home should be PRESERVED.


Power off or reset the machine via the Central XO-person's Palette.
W/ preparation: olpc-update to new versions of the operating system via USB. Data in /home should be PRESERVED.


Control screen brightness with the brightness keys in Sugar.
Access the root account via the virtual terminals or via the Terminal activity (if present.)


==== Installation/Upgrade ====

Original software must be installable at the factory. It can be upgraded via an USB stick (clean install) or over the network (upgrade). Clean install will result in deleting all previously existed user data. When upgraded over the network, user data collected while running previously installed software must be preserved and appear existed after the upgrade.

For testing, these are the features that need to be addressed:
# Start with major release currently in the field; upgrade via olpc-upgrade to new release
# Start with minor release(s) currently in the field; upgrade via olpc-upgrade to new release
# Use USB upgrade
# Use cleaninstall procedure


In the cases of upgrades (rather than cleaninstall), the data and Journal entries from before the upgrade should remain intact.
Access to the firmware "ok" prompt w/ developer key, requestable through Browse and installable through the Terminal.


==== Firmware====
==== Firmware====


Developer keys should grant access to OFW.
Developer key should grant access to OFW.


It should be able to reinstall firmware If needed) without reinstalling the whole build.
Should be able to flash any build from OFW.


Should be able to rewrite manufacturing data (e.g. language, write-protect tags) from OFW (Very low priority, not a public feature)
It should be possible to rewrite manufacturing data (e.g. language, write-protect tags) from OFW (?).

Should respond to gamepad [go/Cheat_codes Cheat codes]


====Security====
====Security====
Line 73: Line 82:
Laptops should not boot until they are activated.
Laptops should not boot until they are activated.


Can be activated wirelessly (with a school server) ''(not recently tested)''
Laptops can be activated locally (via USB) or wirelessly (with a school server) (?).


====Localization====
Can be activated via USB.


'''Keyboards'''
Must support all keyboards that we developed. "Support" is defined as:
# There is a keyboard silkscreen, approved and able to be produced at Quanta
# The keys on the keyboard map to the appropriate characters on the display
# The text on the screen renders legibly and is directionally correct (left to right, right to left)


The tests to determine items 2 and 3 only include text that is typed in the Sugar UI, Write and Browse. See the list of keyboards we would like to support from the release notes: [[Release_Notes/8.2.0#New_Keyboard_Support]]
====Performance/scalability====


====Localization====

Keymaps are correct or are very close to correct for US/International, Amharic, Spanish, Portuguese, and Kreyól keyboards.


Translations
'''Translations'''
Translations need to be developed and approved by the country as OLPC does not have language expertise.


====User documentation====
====User documentation====
Line 95: Line 105:
==== USB/SD Peripherals====
==== USB/SD Peripherals====


Reliably store user data to and retrieve user data from FAT16/VFAT formatted USB Mass Storage devices.
Store and retrieve user data from FAT16/VFAT formatted USB Mass Storage and SD/SDHC devices.


USB ethernet adapters, keyboards, and mice should function similarly to their normal function in other operating systems.
Reliably store user data to and retrieve user data from FAT16/VFAT formatted SD/SDHC devices.


Use SD cards for normal operation and be able to boot off of SD.
USB ethernet adapters, keyboards, and mice should function similarly to their normal function on other operating systems.

Login via serial consoles. (very low priority)


Login via serial consoles. (low priority)


====Sugar GUI====
====Sugar GUI====


New Home View
TBD


Frame features


Activity launching
====Activities====


Graphical Sugar Control Panel
Interact with one activity or "location" at a time


Remove network configuration settings
Switch between the current activity and other locations with the view keys or the frame


====Activities====
Switch between activities with Alt-Tab or the activity ring

Installing or removing activities should not affect the ability of the system to run.

Switch between activities with Alt-Tab or with the means provided in the Home view.


Start new activities and stop running ones with the frame, ring, or activity toolbar.
Start new activities and stop running ones with the frame, ring, or activity toolbar.

Browse must render at least the web sites listed at

http://dev.laptop.org/ticket/7421


Pippy, Record, and TamTam will be able to play and record sounds.
Pippy, Record, and TamTam will be able to play and record sounds.
Line 123: Line 141:
Pippy and Record will be able to take photographs.
Pippy and Record will be able to take photographs.


Record will be able to record short videos.
Record will be able to record short videos (but not reliably transfer them between laptops).


Measure will be able to measure signals with or without DC voltage bias.
Measure will be able to measure signals with or without DC voltage bias.
Line 129: Line 147:
Volume keys on the keyboard will adjust the speaker volume while Sugar is running.
Volume keys on the keyboard will adjust the speaker volume while Sugar is running.


Control audio volume with the volume keys in sugar
Should be able to control audio volume with the volume keys in Sugar.


Pictures can be composed with text in a system editor such as Write. (We actually expect [go/Write Write] to do a lot of other things.)
Pictures can be composed with text in the Write.


Fancier multimedia like video, audio, and programs can be manipulated in an environment like [go/EToys EToys].
Fancier multimedia like video, audio, and programs can be manipulated in an environment like [[Etoys]].


Copy-and-paste media clips between activities
Copy-and-paste media clips between activities.


Download media clips into the Journal
Download media clips into the Journal.


Fancier multimedia like video, audio, and programs can be manipulated in an environment like [[Etoys]].
Pictures can be composed with text in a system editor such as Write. (We actually expect [go/Write Write] to do a lot of other things.)

Fancier multimedia like video, audio, and programs can be manipulated in an environment like [go/EToys EToys].


Copy-and-paste media clips between activities
Copy-and-paste media clips between activities
Line 147: Line 163:
Download media clips into the Journal
Download media clips into the Journal


====Performance/scalability====
<div>The section below has to be edited (in progress)…

Installing or removing activities should never change the ability of the system to run.</div>

1 - Start activities at the same speed (including but not limited to all

fructose activities)

2 - Boot to home at the same speed.

3 - Cursor control the same, including number of XOs where it moves

without input or moves without correlation to finger on touchpad

3 - Connect to the same APs in the same time and with the same user

feedback. (e.g. blinks then shows white circle).

4 - Connect to active antennas in the same time and with the same user

feedback (e.g. blinks then shows white circle).

5 - Run all the same activities (can require activity upgrade within

documented bounds). Includes allowing activities to mesh the same way.

6 - Connect to mesh with the same number of XOs in the same time with

the same failure rate.

7 - Save and open files for all activities. Fructose activities at a

minimum otherwise all activities per 5 above. Including when journal has

thousands of entries.

8 - Use the same NAND space.

9 - Always boots up, especially when there is no space on NAND

10 - Open and close all activities per 5 above.

11 - Must support all languages and keyboards previously supported.

"support" means all previously translated strings still work in

activities and sugar. All language types work the same (e.g. RTL)

12 - No new cases where the XO crashes and needs hard reboot.

13 - No new cases where the cursor stops responding (AKA hangs) for more

than 30 seconds.

14 - Sound and video recording and playback must record at the same

rate. Must playback all the same kinds of files. Must playback with the

same quality (assuming all other variables constant, e.g. network,

RAN=M, disk space, etc.)

15 - Browse must render the same web sites as before. See also

[http://dev.laptop.org/ticket/7421 http://dev.laptop.org/ticket/7421]

16 - USB read, write, mount and unmount must work the same and for all

the same devices.

17 - Mouse and keyboard must connect and work the same

18 - Journal has the same capabilities.

19 - Must use the same or less power for the same user interaction

20 - Must have the same security mechanisms and be as secure as previous

releases.

21 - Must be installable in the factory and upgradeable from 656, 703


TBD.
and 708 via USB or network.


==== Hardware====
Support robust behavior, ability to operate with internal (touch-pad, keyboard, etc.) and external devices (mouse, etc.)


[[Category:Test plans]]
==== Hardware/Firmware====
Robust behavior, ability to operate with user-oriented (touch-pad, keyboard, etc.) and external devices (mouse, etc.)

Latest revision as of 20:46, 9 December 2008

OLPC Test Areas/Features for 8.2.0

This is a draft.

Below is the major test areas/features list that will be used to create 8.2.0 test cases:

Network Connectivity/Collaboration

Connectivity and ability to browse the web from WEP and WPA access points.

Sharing between XOs on a simple mesh.

Between XOs with a school server with an 802.11 b/g access point (with or without WEP and WPA/WPA2 encryption). Access point connectivity is currently a priority.

Active Antenna (low priority for 8.2)

In a mixed environment (when various wireless points of contact are present in the area), allow switching between different modes of connectivity.

Please see use cases that describe connectivity testing in more detail: Use_Cases

School Server Backup Feature

Register and automatically save files to school server

Restore files from school server to XO.

Journal/Datastore

Be able to save and retrieve activities and files from the Journal.

List, search, and filter records of actions on the system by time, title, or type.

Be able to display and edit text (rtf, pdf, x-pdf, doc, html), image (png, jpeg, gif), audio (ogg, x-wav, wav), video (ogg, mpeg, avi) formats.

Activity Updater

This is located in the sugar control panel, but is being identified here as it needs to be get specific test cases.

Be able to upgrade Activities based on the default location of Activites.

Be able to upgrade Activities based on the G1G1/8.2 version of activities.

Be able to upgrade Activities based on the Peru version, 8.2. (Lower priority as this needs to work for 8.2.1).


Power Management (Power Control & Conservation)

When the lid is closed or when the power button is pressed quickly while Sugar is running, suspend the machine in order to conserve power.

Resume from suspend in response to lid opening or quickly pressing the power-button.

Power off a machine by holding the power button for several seconds.

Power off or reset the machine via the Central XO-person's Palette.

Control screen brightness with the brightness keys in Sugar.

Installation/Upgrade

Original software must be installable at the factory. It can be upgraded via an USB stick (clean install) or over the network (upgrade). Clean install will result in deleting all previously existed user data. When upgraded over the network, user data collected while running previously installed software must be preserved and appear existed after the upgrade.

For testing, these are the features that need to be addressed:

  1. Start with major release currently in the field; upgrade via olpc-upgrade to new release
  2. Start with minor release(s) currently in the field; upgrade via olpc-upgrade to new release
  3. Use USB upgrade
  4. Use cleaninstall procedure

In the cases of upgrades (rather than cleaninstall), the data and Journal entries from before the upgrade should remain intact.

Firmware

Developer key should grant access to OFW.

It should be able to reinstall firmware If needed) without reinstalling the whole build.

It should be possible to rewrite manufacturing data (e.g. language, write-protect tags) from OFW (?).

Security

Laptops should travel through the delivery chain unactivated.

Laptops should not boot until they are activated.

Laptops can be activated locally (via USB) or wirelessly (with a school server) (?).

Localization

Keyboards Must support all keyboards that we developed. "Support" is defined as:

  1. There is a keyboard silkscreen, approved and able to be produced at Quanta
  2. The keys on the keyboard map to the appropriate characters on the display
  3. The text on the screen renders legibly and is directionally correct (left to right, right to left)

The tests to determine items 2 and 3 only include text that is typed in the Sugar UI, Write and Browse. See the list of keyboards we would like to support from the release notes: Release_Notes/8.2.0#New_Keyboard_Support

Translations Translations need to be developed and approved by the country as OLPC does not have language expertise.

User documentation

Inside XO and online (wiki) available

Help Activity for G1G1

USB/SD Peripherals

Store and retrieve user data from FAT16/VFAT formatted USB Mass Storage and SD/SDHC devices.

USB ethernet adapters, keyboards, and mice should function similarly to their normal function in other operating systems.

Use SD cards for normal operation and be able to boot off of SD.

Login via serial consoles. (low priority)

Sugar GUI

New Home View

Frame features

Activity launching

Graphical Sugar Control Panel

Remove network configuration settings

Activities

Installing or removing activities should not affect the ability of the system to run.

Switch between activities with Alt-Tab or with the means provided in the Home view.

Start new activities and stop running ones with the frame, ring, or activity toolbar.

Browse must render at least the web sites listed at

http://dev.laptop.org/ticket/7421

Pippy, Record, and TamTam will be able to play and record sounds.

Pippy and Record will be able to take photographs.

Record will be able to record short videos (but not reliably transfer them between laptops).

Measure will be able to measure signals with or without DC voltage bias.

Volume keys on the keyboard will adjust the speaker volume while Sugar is running.

Should be able to control audio volume with the volume keys in Sugar.

Pictures can be composed with text in the Write.

Fancier multimedia like video, audio, and programs can be manipulated in an environment like Etoys.

Copy-and-paste media clips between activities.

Download media clips into the Journal.

Fancier multimedia like video, audio, and programs can be manipulated in an environment like Etoys.

Copy-and-paste media clips between activities

Download media clips into the Journal

Performance/scalability

TBD.

Hardware

Support robust behavior, ability to operate with internal (touch-pad, keyboard, etc.) and external devices (mouse, etc.)