Tests: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(I merged the "User Stories Testing" content of this to Testing#Testing areas, so now replace it with something useful.) |
||
(105 intermediate revisions by 22 users not shown) | |||
Line 1: | Line 1: | ||
You probably want to read [[Testing]], or its section [[Testing#Testing areas]], or maybe [[:Category:Testing]]. |
|||
===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. |
|||
== Subpages of {{FULLPAGENAME}}== |
|||
High level topics for User Stories can be divided into a few major categories: |
|||
Many specific test cases are subpages of this page, including: |
|||
{{Special:PrefixIndex/{{FULLPAGENAME}}/}} |
|||
# Start up (out-of-the-box experience) |
|||
# Connectivity and Collaboration |
|||
# Archive, Backup, Content |
|||
'''Start up scenario 1: Server support'''<br> |
|||
Jose is a 6 year-old student at a school in Brazil is being issued his XO laptop today. The school has spent weeks preparing for this day. The school server is set up and has internet connectivity. All the laptops have been activated by the school server, which contains books and software specific for Jose's grade level. The teacher has a specific activity she asks all the children to work on. |
|||
''Setup:'' |
|||
#School server setup with a school text book for content and appropriate activation keys for 5 XOs. |
|||
#Activate all 5 XOs |
|||
''Tests:'' |
|||
#Designate one of the XOs as the teacher; boot it and select fullname(?), nickname, and XO color. |
|||
#On teacher's XO, download a book from the school server (need details on how to do this). |
|||
#On teacher's XO, open the book and share it (need details) |
|||
#For the other 4 XOs, turn them on, wait for boot up, and select fullname(?), nickname, and XO color. Designate one of the XOs as Jose. [Should two student nicknames the same?] |
|||
#From Jose's XO ensure that the mesh shows all other XOs |
|||
#From the mesh view, click on the teacher's shared book. |
|||
#From the other XOs, click on the teacher's shared book - ensure that all XOs can access and read this book. |
|||
#From the school server, ensure that all 5 XOs have been registered. |
|||
#Upon appropriate event (turning off and back on again, or waiting a period of time), the school server should force an archive or back up of the user data for all 5 machines. (is this initiated by the server or XO?) |
|||
'''Start up scenario 2: No server support'''<br> |
|||
Maria is a 10 year-old student in a school being issued XOs. This school just received their server but not set up or has no internet connectivity. Activation will occur via USB stick. The teacher is not prepared with activities or curriculum, but will allow the children time to explore the laptops on their own. |
|||
''Setup:'' |
|||
#No school server, no Access Point (to start) |
|||
#Use a USB to activate 5 XOs (ensure that these are 'out of the box' XOs) |
|||
''Tests:'' |
|||
#For all 5 XOs, turn them on, wait for boot up, and select fullname(?), nickname, and XO color. Designate one of the XOs as Maria. |
|||
#Ensure that the mesh shows all other XOs from each student XO. |
|||
#From Maria's XO, go to the mesh and designate 2 other XOs as 'friends' |
|||
#Ensure that the friends show up in the group mesh view, and all XOs continue to show up in neighborhood mesh view. |
|||
#From Maria's XO, start a chat session with one of the friends |
|||
#Add an off-the-shelf wireless router (such as Linksys) with an uplink to the internet. No WEP key. |
|||
#Ensure that Maria's XO can connect to this AP, and can now browse the internet |
|||
'''Start up scenario 3: Server start up'''<br> |
|||
The server hardware and cables have arrived early at a large school in Uruguay. The local administrator takes the hardware out of the box and would like to set up the server and download the curriculum books and software that have been created ahead of time. There will be 3 radios (all active antennas? or 2 AAs and one embedded radio?) |
|||
''Setup:'' |
|||
#Ensure uplink connection is available |
|||
''Tests:'' |
|||
#Plug in the school server, keyboard, mouse, display, connect active antennas, connect uplink. |
|||
#Ensure server boots up and provides diagnostic info: Connectivity to uplink, number of live radio channels (antennas), IP Address for uplink, number of wireless hosts... (what else do we want to show at start up?) |
|||
#Start Server UI for choosing content (?) |
|||
#Start an XO and ensure the School server sees it and can provide content to it (automatically?) |
|||
#Ensure the school server provides the appropriate backup and reporting |
|||
'''Connectivity scenario 1: Connectivity with or without a server'''<br> |
|||
Three students, Joe, Uma, and Ann, are working on a project together. They start the project at their 'large' school with 3 radio channels and internet connectivity. Their work is saved and shared via the Journal, and get together later at home to continue working. They don't have internet connectivity or access to the server from home, but they can modify the document and images. |
|||
''Setup:'' |
|||
#First setup a 3 radio school server and ensure that each XO connects via a different radio (how do you ensure this?) |
|||
#Run Abiword on Uma's XO; run Paint on Joe and Ann's. Create documents and images. |
|||
#From the group mesh view, ensure that Joe and Uma are 'friends' and show up in each other's group mesh, but Ann is only viewable in the neighborhood mesh. |
|||
#Ensure that this group project is shared among all three students (how does this happen?) |
|||
''Tests:'' |
|||
#Turn off School server and radios or move all three XOs far enough away from them that they cannot connect to a server or AP. |
|||
#Make sure that all 3 XOs CAN see each other in their neighborhood mesh view. |
|||
#Each student should open the document or one of the images and make some changes. |
|||
#Each student should then open one of the other images or the document and make changes. Ensure that all students see the same latest versions (how does this happen? Do the kids have to tell each other what they are working on so they don't step on each other's work?) |
|||
#Reconnecting with the school server should automatically back up the latest versions in each journal. |
|||
'''Connectivity scenario 2: Mesh hoping'''<br> |
|||
The school server's wireless connection does not reach to all classrooms in and around the school. Andres is outside the range for a direct connection, but there are two students, Carlos and Ben situated between Andres and the server. He opens his XO to work on a project that includes downloading images from the internet. |
|||
Thoughts: Ensure connectivity through a standby XO to a server; also ensure it will work with 2 hops, one standby and one active XO... |
|||
''Setup:'' |
|||
#Ensure the school server has connectivity and Carlos' XO can download a specific image from Google (preferably something that takes at >5 seconds to load). |
|||
#Ensure that Ben's XO does not have connectivity to the school server, but it can see Carlos' XO. |
|||
#Ensure that Andres' XO is only able to connect directly to Ben's XO. (need to describe in detail how to ensure that Carlos and Ben are far enough away from the server and from each other such that Carlos requires two mesh hops to get to the school server. |
|||
''Tests:'' |
|||
#Open Andres' XO and make sure he can see Ben and Carlos. |
|||
#Download the same image from Google from each XOs, one at a time. |
|||
#Ensure that they can all get to the internet from their location. |
|||
#Note the download speed at each XO. |
|||
'''Connectivity scenario 3: 200 XOs / One server'''<br> |
|||
On a particularly well-attended day of school, Sophie is the 200th student to open her laptop and get connected to the server. She is doing research on the internet. At the same time, in one classroom all 20 students, are simultaneously downloading todays lesson, a large document or book. |
|||
Thoughts: Ensure that 200 laptops can be seen by the server; ensure that the 200th laptop has no more trouble accessing the network than the first ones; is there any automatic updating of shared documents when a version change is detected? How does Uma find her friend if there are 200 other laptops in the mesh... |
|||
''Setup:'' |
|||
#One school server with three radios, an uplink, and two or three large documents or books as content. |
|||
#Set up approximately 10 machines, each with 20 wireless connections (active antennas?). Each simulated XO needs to be able to set up a TCP connection that terminates at the server. |
|||
#Set up Sophie's real XO, and 4 other real XOs to represent other students. |
|||
''Tests:'' |
|||
#Ensure that the mesh sees all 205 XOs (simulated and real) |
|||
#Start a download of the specific book across 20 simulated XOs and 2 real XOs. |
|||
#With Sophie's XO, browse the internet and download an image from google. |
|||
'''Connectivity scenario 4: Mesh overlap'''<br> |
|||
There are two schools close enough together that Kyle, a student who lives between the schools can show up in both meshes and provide connectivity between the schools. |
|||
''Setup:'' |
|||
#Set up two school servers, each with 2 radios and uplink to internet. |
|||
#Ensure that they are far enough away that they don't show up in each other's mesh view |
|||
#Set up 2 XOs close to server1, so they show up in that mesh, and 2 that are close to server2. |
|||
#The XOs on server1 are sharing an Abiword document; one is editing it, the other is just browsing the web. |
|||
#The XOs on server2 are using the chat on eToys. |
|||
''Tests:'' |
|||
#Kyle's XO goes close to server1 and shows up in that mesh. He sets up a friendship invitation with the other XOs here. |
|||
#Move Kyle's XO to the midpoint between server1 and server2. His XO should now show up in the mesh for both servers. |
|||
#Ensure that the XOs on server1 are not interrupted in the Abiword doc or browsing the web; and the XOs on server2 are not interrupted in their chat on eToys. |
|||
#An XO on server2 start a chat with an XO on server1. |
|||
#After about 10 minutes of this testing, Kyle moves closer to server2 and the connection with server1 is broken. |
|||
#Ensure that activities continue to work properly (except the chat between an XO on server2 and an XO on server1, which should be broken). |
|||
'''Backup/Archive scenario 1: Basic backup'''<br> |
|||
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:'' |
|||
#Set up Parvis' XO to register with the server. |
|||
#Create a document while connected to the school server. |
|||
''Tests:'' |
|||
#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. |
|||
#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?) |
|||
'''Upgrade scenario 1: Manual upgrade'''<br> |
|||
The Sau 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:'' |
|||
#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. |
|||
#Set up 5 XOs as student laptops. |
|||
#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:'' |
|||
#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. |
|||
#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. |
Latest revision as of 04:48, 27 January 2011
You probably want to read Testing, or its section Testing#Testing areas, or maybe Category:Testing.
Subpages of Tests
Many specific test cases are subpages of this page, including:
- Tests/100 laptops
- Tests/654
- Tests/Acquiring a developer key
- Tests/Activity/Abacus
- Tests/Activity/Analyze
- Tests/Activity/Browse
- Tests/Activity/Browse/No Visualization
- Tests/Activity/Calculate
- Tests/Activity/Calculate/AlgebraAndConstantTest
- Tests/Activity/Calculate/BooleanAndLabelTest
- Tests/Activity/Calculate/CosSinTest
- Tests/Activity/Calculate/CosTest
- Tests/Activity/Calculate/FourArithmeticOperationsTest
- Tests/Activity/Calculate/PlusTest
- Tests/Activity/Calculate/SinCosTest
- Tests/Activity/Calculate/SinTest
- Tests/Activity/Calculate/SquareTest
- Tests/Activity/Calculate/additionTest
- Tests/Activity/Calculate/booleanTest
- Tests/Activity/Calculate/clearTest
- Tests/Activity/Calculate/cubeTest
- Tests/Activity/Calculate/divisionTest
- Tests/Activity/Calculate/logTest
- Tests/Activity/Calculate/multiplicationTest
- Tests/Activity/Calculate/squarerootTest
- Tests/Activity/Calculate/subtractionTest
- Tests/Activity/Calculate/tanTest
- Tests/Activity/Calculate/turnoffTest
- Tests/Activity/Calculate/turnon Test
- Tests/Activity/CalculateTests
- Tests/Activity/Chat
- Tests/Activity/Chat/Private chat
- Tests/Activity/Chat/Public chat
- Tests/Activity/Clock
- Tests/Activity/Distance
- Tests/Activity/EToys/Mp3
- Tests/Activity/Gcompris-Chess
- Tests/Activity/Gcompris-Sudoku
- Tests/Activity/Generic/Sanity Check
- Tests/Activity/Help
- Tests/Activity/Implode
- Tests/Activity/Kuku/
- Tests/Activity/Kuku/AnswerGenerationTest
- Tests/Activity/Kuku/GameStartTest
- Tests/Activity/Kuku/QuestionConstructionCase1
- Tests/Activity/Kuku/SolveGameTest
- Tests/Activity/License/Clean startup
- Tests/Activity/License/Comic enables step 3
- Tests/Activity/License/License chooser loads
- Tests/Activity/Log
- Tests/Activity/Manual download
- Tests/Activity/Maze
- Tests/Activity/Measure
- Tests/Activity/Memorize
- Tests/Activity/Memorize/ExtraClicks
- Tests/Activity/Memorize/FullTest
- Tests/Activity/Memorize/FullTest2
- Tests/Activity/Memorize/FullTest3
- Tests/Activity/Memorize/GameFinish
- Tests/Activity/Memorize/GameStart
- Tests/Activity/Memorize/MatchingPair
- Tests/Activity/Memorize/Non-matchingPair
- Tests/Activity/Memorize/Reveal box
- Tests/Activity/Memorize/SameSideTesting
- Tests/Activity/Memorize/ValueRetention
- Tests/Activity/Moon
- Tests/Activity/Paint
- Tests/Activity/Pippy
- Tests/Activity/Read
- Tests/Activity/Read/Private sharing
- Tests/Activity/Read/Public sharing
- Tests/Activity/Record
- Tests/Activity/Record/Private photo sharing
- Tests/Activity/Record/Public photo sharing
- Tests/Activity/Ruler
- Tests/Activity/Scratch
- Tests/Activity/Speak
- Tests/Activity/TamTamEdit
- Tests/Activity/TamTamJam
- Tests/Activity/TamTamMini
- Tests/Activity/TamTamSynth
- Tests/Activity/Terminal
- Tests/Activity/TurtleArt
- Tests/Activity/TurtleArt Arithmetic
- Tests/Activity/TurtleArt Boolean Logic 1
- Tests/Activity/TurtleArt Boolean Logic 2
- Tests/Activity/TurtleArt Movement
- Tests/Activity/TuxPaint
- Tests/Activity/WikipediaEN
- Tests/Activity/Write
- Tests/Activity/Write/Edit Functions
- Tests/Activity/Write/Private sharing
- Tests/Activity/Write/Public sharing
- Tests/Activity/eToys
- Tests/Activity/x2o
- Tests/Archive, Backup, Content
- Tests/Backward Comp
- Tests/BlockParty
- Tests/Boot/Activation
- Tests/Boot/Cleaninstall
- Tests/Boot/Security-Disabled
- Tests/Boot/USBUpgrade
- Tests/Boot/olpc-update
- Tests/Browse/Sharing bookmarks
- Tests/Browse693
- Tests/Browse 690
- Tests/Calculate
- Tests/Chat
- Tests/Conference scaling
- Tests/Connect
- Tests/Connectivity/Collaboration
- Tests/Connectivity and Collaboration
- Tests/Etoys
- Tests/Flipsticks
- Tests/Groups view
- Tests/Home view
- Tests/I18N/keyboards/Arabic
- Tests/I18N/keyboards/Dari
- Tests/I18N/keyboards/Kreyol
- Tests/I18N/keyboards/Mongolian
- Tests/I18N/keyboards/Portuguese
- Tests/I18N/keyboards/Thai
- Tests/I18N/keyboards/US
- Tests/I18N/keyboards/amharic
- Tests/Il8N/JournalFullMessage
- Tests/Il8N/SoftwareUpdateControlPanel
- Tests/Implode
- Tests/Invite
- Tests/Isolation
- Tests/Journal
- Tests/Journal/DuplicateFiles
- Tests/Journal/Nand-full
- Tests/Journal/ResumeImages
- Tests/Keyboard mappings
- Tests/Keyboards
- Tests/Kuku
- Tests/Language settings
- Tests/MaMaMedia
- Tests/Manufacturing Data
- Tests/Measure
- Tests/Memorize
- Tests/Neighborhood view
- Tests/Network/100XO/Collaboration
- Tests/Network/50XO/Collaboration
- Tests/Network/WirelessActivation
- Tests/Network/XO/Ad-hoc
- Tests/Network/XO/Mesh
- Tests/Network/XO/SimpleMesh
- Tests/Network/XO/Unsecured AP
- Tests/Network/XO/WEP
- Tests/Network/XO/WPA
- Tests/Network/XO/WPA2
- Tests/Network/XS
- Tests/Network/XS/20XOPersistence
- Tests/Network/XS/AP/20XOs
- Tests/Network/XS/AP/Registration
- Tests/Network mgr
- Tests/News Reader
- Tests/Paint
- Tests/Peripherals/SD
- Tests/Peripherals/SynapticsAndAlpsTouchpad
- Tests/Peripherals/TouchpadXorg.Conf
- Tests/Photograph
- Tests/Pippy
- Tests/Read
- Tests/Record
- Tests/SD card
- Tests/SD card acting as a usb drive in card reader
- Tests/SmokeTest/.oggFiles
- Tests/SmokeTest/Activities
- Tests/SmokeTest/Chat
- Tests/SmokeTest/Distance
- Tests/SmokeTest/ImageTransferringandInvite
- Tests/SmokeTest/InstallingaLibraryBundle
- Tests/SmokeTest/InstallinganActivityBundle
- Tests/SmokeTest/JournalFill
- Tests/SmokeTest/NetworkConnections
- Tests/SmokeTest/StartUp
- Tests/SmokeTest/SuspendResume
- Tests/SmokeTest/USBfiletransfer
- Tests/Start up and Activation
- Tests/Sudoku
- Tests/Sugar/Copy to Clipboard
- Tests/SugarUI/FedoraLogo
- Tests/SugarUI/Frame/Devices/Wireless/IPAddressVisibleTest
- Tests/Sugar Control Panel/About Me/Color Change
- Tests/Sugar Control Panel/About Me/Name Change
- Tests/Sugar Control Panel/About my XO
- Tests/Sugar Control Panel/Date & Time
- Tests/Sugar Control Panel/Frame/Corner Activation
- Tests/Sugar Control Panel/Frame/Edge Activation
- Tests/Sugar Control Panel/Language
- Tests/Sugar Control Panel/Network/Radio Activation
- Tests/Suspend Resume
- Tests/TamTam
- Tests/TamTam Edit
- Tests/TamTam Jam
- Tests/TamTam Mini
- Tests/Time sync
- Tests/USB stick
- Tests/Upgrades/Activities/Default
- Tests/Upgrades/DataIntegrity
- Tests/Upgrades/SigningCustomBuilds
- Tests/Watch and Listen
- Tests/Wireless Test-scp loop
- Tests/Write
- Tests/XS/Restore/TurtleArt
- Tests/XS/RestoreDS
- Tests/XS/RestoreDS/Paint
- Tests/XS/RestoreDS/Record
- Tests/XS/RestoreDS/TamTamJam
- Tests/XS/RestoreDS/Write
- Tests/XS/RestoreDS/WritewithImages
- Tests/XS/backupDS
- Tests/kremala
- Tests/other/Battery