Test cases 8.2.0

From OLPC

(Redirected from TestCases 8.2.0)
Jump to: navigation, search

Contents

Add test results

It has been suggested that this article or section be merged with Reporting test results. (Discuss)


The test case form has a test result form within it that you can fill in, and you can add additional test results by clicking on the [Add another] button under the test case form.

The tables below have a shortcut: just click the '+' sign next to a test case to edit it in the form, then click the [Add another] button.

Here are what the fields are for:

Tested Release 
What release build was this? 8.1.1? 7.1.0? A Release Candidate?
Tested Stream 
What build stream was used? Joyride? Update.1?
Tested Build 
What is the build number that was used?
Pass/Fail 
Did the test pass or fail?
Associated trac tickets 
List the trac tickets associated with this test if any were filed.
Comments 
How did the test fail? A short description of what went wrong.
Today's Date 
When did you run the testcase? The month and year will be filled in for you automatically.

You can also go to the test case's page and click the "edit with form" tab and add results for the test case using the same method.

Test cases

Activities

If you are creating test cases for an activity, please include the base functionality that is important for all activities; then you can include other functional testing as well.

The "NZ activity test" is here

Basic activity testing

  1. Activity installs from download (if not part of default installation) from website or USB key
  2. Activity starts up
  3. You can re-name the activity
  4. User specific data can be created
  5. You can force a save
  6. Activity closes properly from inside the activity
  7. You can resume the activity from the Journal
  8. You see the user specific data after resume
  9. You can close the activity from the Sugar frame

Activity-specific test cases

Test case Short name Test objective Add test result
Short name Test objective
Tests/Activity/Abacus Abacus Activity basic functional test
Tests/Activity/Analyze Analyze Activity basic functional test
Tests/Activity/Browse Browse activity testing Basic testing of activity
Tests/Activity/Browse/No Visualization Browse test of totem plugin Confirm that the totem plugin's audio visualization is disabled, as this is a waste of power and CPU.
Tests/Activity/Calculate Calculate Activity basic activity testing
Tests/Activity/Calculate/AlgebraAndConstantTest AlgebraAndConstantTest Test three functions for the algebra feature, also test the constants of the Calculate activity
Tests/Activity/Calculate/BooleanAndLabelTest BooleanAndLabelTest Test the boolean and the label features for the Calculate activity
Tests/Activity/Calculate/CosSinTest cossin passed
Tests/Activity/Calculate/CosTest cos passed
Tests/Activity/Calculate/FourArithmeticOperationsTest FourArithmeticOperationsTest Test the calculate activity basic functionalities
Tests/Activity/Calculate/PlusTest FourArithmeticOperationsTest
Tests/Activity/Calculate/SinCosTest sincos passed
Tests/Activity/Calculate/SinTest sin passed
Tests/Activity/Calculate/SquareTest square passed
Tests/Activity/Calculate/additionTest addition addition of numbers
Tests/Activity/Calculate/booleanTest boolean test
Tests/Activity/Calculate/clearTest clear passed
Tests/Activity/Calculate/cubeTest cube passed
Tests/Activity/Calculate/divisionTest division passed
Tests/Activity/Calculate/logTest log passed
Tests/Activity/Calculate/multiplicationTest multiplication passed
Tests/Activity/Calculate/squarerootTest squareroot passed
Tests/Activity/Calculate/subtractionTest subtraction passed
Tests/Activity/Calculate/tanTest tan passed
Tests/Activity/Calculate/turnoffTest turnoff passed
Tests/Activity/Calculate/turnon Test turnon passed
Tests/Activity/CalculateTests Calculate Activity
cossin
FourArithmeticOperationsTest
square
clear
log
subtraction
turnon
tan
multiplication
cube
addition
sincos
cos
AlgebraAndConstantTest
BooleanAndLabelTest
sin
division
squareroot
turnoff
basic activity testing
passed
addition of numbers
Test three functions for the algebra feature, also test the constants of the Calculate activity
Test the boolean and the label features for the Calculate activity
Test the calculate activity basic functionalities
Tests/Activity/Chat Public Chat
Private Chat
Verify that users can start and participate in a public (visible to the neighborhood) chat.
Verify that users can start and participate in a private (invite-only) chat.
Tests/Activity/Chat/Private chat Private Chat Verify that users can start and participate in a private (invite-only) chat.
Tests/Activity/Chat/Public chat Public Chat Verify that users can start and participate in a public (visible to the neighborhood) chat.
Tests/Activity/Clock Clock Activity Standard activity testing
Tests/Activity/Distance Distance Activity basic functional testing
Tests/Activity/EToys/Mp3 Etoys mp3 player http://dev.laptop.org/ticket/8982
Tests/Activity/Gcompris-Chess Gcompris Chess Basic Functionality test
Tests/Activity/Gcompris-Sudoku Gcompris Sudoku Basic functionality test
Tests/Activity/Generic/Sanity Check Sanity Check basic activity sanity check
Tests/Activity/Implode Implode Activity Test Basic Functional Test
Tests/Activity/Kuku/AnswerGenerationTest Answer Generation Test To test if the generated answer contains at least one correct answer
Tests/Activity/Kuku/GameStartTest GameStartTest To test if Kuku starts up properly
Tests/Activity/Kuku/QuestionConstructionCase1 Question ContructionTest To test if Kuku generates questions propely from the text file
Tests/Activity/Kuku/SolveGameTest Solve Game Test To test if Kuku game can be solved and the next game continues from the next question/answer or loop back from the top if it reaches the end of the file.
Tests/Activity/License/Clean startup License Activity - Clean startup On first run
Tests/Activity/License/Comic enables step 3 License Activity - Comic enables step 3 When you go through the comic (after completing the "Read disclaimer" == Step 1),
Tests/Activity/License/License chooser loads License Activity - License chooser loads Verify that the license chooser, which relies on a bundled shared object (liblicense.so), loads a working license chooser.
Tests/Activity/Log Log Activity test basic functional test
Tests/Activity/Manual download Manual downloading of activity Activities can be manually downloaded from OLPC's wiki.
Tests/Activity/Maze Maze Activity Basic Functionality Test
Tests/Activity/Measure Measure Activity basic functional testing
Tests/Activity/Memorize Memorize Activity
Same side testing
FullFunctionTests
Extra clicks
Game finish
Non-matching pair
Value retention
Game Start
Reveal box
Matching pair
basic functional test
Boxes from the same category cannot be chosen at same time.
Test functions of Memorize to ensure the behave as expected
The result of more than one click on the same box
Matching of all pairs reveal entire grid
System recognizes the pair which dont match.
The value for each box remains the same in the entire game
The appropriate game is loaded when we start the activity
Test to check the value is revealed on clicking the box
Test to check if matching pair is recognized by system
Tests/Activity/Memorize/ExtraClicks Extra clicks The result of more than one click on the same box
… further results

Boot

Test case Short name Test objective Add test result
Short name Test objective
Tests/Boot/Activation Activation during Boot This test ensures that activation works on secure, non-activated laptops
Tests/Boot/Cleaninstall Use USB stick and cleaninstall the image; secure and not secured Ensure that a cleaninstall of a build image works properly from a USB key. Both on secure laptop (with a signed build) and an unsecured laptop (unsigned build). (see http://wiki.laptop.org/go/Clean-install_procedure for reference)
Tests/Boot/Security-Disabled Un-secured boot Ensure the laptop can boot after 'disable security' has been issued
Tests/Boot/USBUpgrade USB Upgrade After using the XO, perform upgrade with USB to preserve journal items
Tests/Boot/olpc-update olpc-update From the terminal upgrade your XO using the olpc-update feature.

Journal

Test case Short name Test objective Add test result
Short name Test objective
Tests/Journal/DuplicateFiles Hard linking for duplicate Journal files http://dev.laptop.org/ticket/8155
Tests/Journal/Nand-full Nand-full Fill up the Nand memory to >88%; Ensure on the next boot that some files will be deleted automatically to allow booting.
Tests/Journal/ResumeImages Resuming docs with shared images Ensure that images and tex saved in a shared doc can be resumed properly.

Network

Test case Short name Test objective Add test result
Short name Test objective
Tests/Connectivity/Collaboration Collaboration: access point environment Laptops can collaborate with each other while connected to an access point.
Tests/Network/100XO/Collaboration 100 XO, 2 AP collaboration To verify collaboration working with a 100 XO, 2 AP testbed.
Tests/Network/50XO/Collaboration 50 XO, 1 AP collaboration To verify collaboration working with a 50 XO, 1 AP testbed.
Tests/Network/WirelessActivation Wireless activation http://dev.laptop.org/ticket/8976
Tests/Network/XO/Ad-hoc Ad-hoc network sharing Ensure laptops can connect to ad-hoc networks and collaborate
Tests/Network/XO/Mesh Mesh network sharing Ensure laptops can connect to Mesh networks and collaborate
Tests/Network/XO/SimpleMesh Test XOs in Simple Mesh 10 Laptops connect and collaborate in simple mesh
Tests/Network/XO/Unsecured AP Unsecure network sharing using an access point Ensure laptops can connect to Unsecured AP networks and collaborate
Tests/Network/XO/WEP WEP Access Point connection Ensure that the XO can connect to a WEP AP and browse the internet.
Tests/Network/XO/WPA WPA Access Point Connection Ensure laptops can connect to WPA AP, and browse the internet
Tests/Network/XO/WPA2 XO connection to WPA2 Ensure the XO can connect to the WPA2 in the garden.
Tests/Network/XS Test/Network/XS/Dual access points Find out behavior of laptops trying to connect to the school server with two access points attached. Specifically, whether the laptops switch from one access point to another automatically, and whether they prefer one access point to another.
Tests/Network/XS/20XOPersistence 20 XOs connected to XS maintain extended collaboration This test determines whether large numbers of XOs (20) can collaborate on various Activities (here we used Chat, Browse, and Write) for an extended length of time.
Tests/Network/XS/AP/20XOs 20 laptops connect to XS through AP This test is meant to ensure that 20 laptops can connect to a school server through an infrastructure AP; and browse the web.
Tests/Network/XS/AP/Registration School Server (XS) Registration Verify that an XO computer can register to a School Server (XS) properly.

Peripherals

Test case Short name Test objective Add test result
Short name Test objective
Tests/Peripherals/SD SD card read, write, boot Ensure that the SD card functions properly for reading, writing, and booting under normal running conditions which includes suspend and resume.
Tests/Peripherals/SynapticsAndAlpsTouchpad Synaptics and Alps touchpad support http://dev.laptop.org/ticket/8451
Tests/Peripherals/TouchpadXorg.Conf Xorg.conf for touchpad http://dev.laptop.org/ticket/8942

SugarUI

Test case Short name Test objective Add test result
Short name Test objective
Tests/Sugar/Copy to Clipboard Copy screenshot to clipboard Copy to clipboard should work.
Tests/SugarUI/FedoraLogo Fedora logo on boot screen http://dev.laptop.org/ticket/8767
Tests/SugarUI/Frame/Devices/Wireless/IPAddressVisibleTest IPAddressVisible Verify the eth0 device's IP address is visible in the wireless connection's Frame icon


Sugar Control Panel

Test case Short name Test objective Add test result
Short name Test objective
Tests/Sugar Control Panel/About Me/Color Change Color Change Verify that a user can change the colors for his/her XO's icons.
Tests/Sugar Control Panel/About Me/Name Change Name Change Verify that a user can change the nickname that is used by the XO.
Tests/Sugar Control Panel/Frame/Corner Activation Corner Activation Verify that a user can change the delay before the frame appears when the cursor is moved into the corner of the screen.
Tests/Sugar Control Panel/Frame/Edge Activation Edge Activation Verify that a user can change the delay before the frame appears when the cursor is moved to an edge of the screen.
Tests/Sugar Control Panel/Language Change Default Language Verify that the user can change the default language the XO uses.
Tests/Sugar Control Panel/Network/Radio Activation Radio Activation Verify that a user can deactivate/reactivate the wireless radio.

Upgrades

Test case Short name Test objective Add test result
Short name Test objective
Tests/Upgrades/Activities/Default Activity updater Ensure that the XO upgrades to the latest default activities
Tests/Upgrades/DataIntegrity Upgrades from older release Use case is that someone has been using the major or minor release that is currently in the field. They upgrade to the new release and should be able to get to their journal entries and data from before the upgrade.
Tests/Upgrades/SigningCustomBuilds Signing custom builds http://dev.laptop.org/ticket/9045

School Server, XS

Test case Short name Test objective Add test result
Short name Test objective
Tests/XS/Restore/TurtleArt Restore Data of TurtleArt Activity from XS to XO XOs automatically save TurtleArt activity data to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
Tests/XS/RestoreDS Restore Data from XS to XO XOs automatically save data to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
Tests/XS/RestoreDS/Paint Restore Data of Record Activity from XS to XO XOs automatically save Paint activity data to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
Tests/XS/RestoreDS/Record Restore Data of Record Activity from XS to XO XOs automatically save record activity data to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
Tests/XS/RestoreDS/TamTamJam Restore Data of TamTamJam Activity from XS to XO XOs automatically save TamTamJam activity data to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
Tests/XS/RestoreDS/Write Restore Data from Write Activity from XS to XO XOs automatically save Write activity data to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
Tests/XS/RestoreDS/WritewithImages Restore Data from Write Activity with an image in the document from XS to XO XOs automatically save Write activity with images in the document to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
Tests/XS/backupDS XO Backup to XS Ensure that the XO, after registration to a school server, backs up its data automatically at least once/day.

Internationalization (I18N)

Test case Short name Test objective Add test result
Short name Test objective
Tests/I18N/keyboards/Arabic Keyboard test for Arabic Ensure that a new release booted up on an Arabic keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Tests/I18N/keyboards/Dari Keyboard test for Dari Ensure that a new release booted up on an Arabic keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Tests/I18N/keyboards/Kreyol Keyboard test for Kreyol Ensure that a new release booted up on an Kreyol keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Tests/I18N/keyboards/Mongolian Keyboard test for Mongolian Ensure that a new release booted up on an Mongolian keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Tests/I18N/keyboards/Portuguese Keyboard test for Portuguese Ensure that a new release booted up on a Portuguese keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Tests/I18N/keyboards/Thai Keyboard test for Thai Ensure that a new release booted up on an Thai keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Tests/I18N/keyboards/US Keyboard test for US/Eng Ensure that a new release booted up on a US/Eng keyboard will boot properly, and all characters of the keyboard will be properly represented on the screen.
Tests/I18N/keyboards/amharic Keyboard test for Amharic Ensure that a new release booted up on an Amharic keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Tests/Il8N/JournalFullMessage Journal-full message i18nalized http://dev.laptop.org/ticket/8745
Tests/Il8N/SoftwareUpdateControlPanel Sugar-control-panel Software Update i18nalized http://dev.laptop.org/ticket/9044
Tests/Keyboards Keyboard test for Arabic
Keyboard test for Dari
Keyboard test for Kreyol
Keyboard test for Mongolian
Keyboard test for Portuguese
Keyboard test for Thai
Keyboard test for US/Eng
Keyboard test for Amharic
Ensure that a new release booted up on an Arabic keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Ensure that a new release booted up on an Kreyol keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Ensure that a new release booted up on an Mongolian keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Ensure that a new release booted up on a Portuguese keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Ensure that a new release booted up on an Thai keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.
Ensure that a new release booted up on a US/Eng keyboard will boot properly, and all characters of the keyboard will be properly represented on the screen.
Ensure that a new release booted up on an Amharic keyboard will boot properly, and the characters of the keyboard will be properly represented on the screen.

Smoke Test

Test case Short name Test objective Add test result
Short name Test objective
Tests/SmokeTest/.oggFiles Playing an .ogg File in Browse Go online in the XO and play an .ogg file to confirm totem-player works
Tests/SmokeTest/Activities Activities Open and perform various activities on the XO unit and then close them.
Tests/SmokeTest/Chat Collaboration with Chat Initiate a chat within your neighborhood
Tests/SmokeTest/Distance Distance Get 2 XOs running the distance activity
Tests/SmokeTest/ImageTransferringandInvite Image Transferring and Invite You will open browse, do a search, incorporate that search into a write doc and then invite someone within the mesh to view and comment.
Tests/SmokeTest/InstallingaLibraryBundle Installing a Library Bundle Go to the Collections wiki on the XO unit and download some reference materials
Tests/SmokeTest/InstallinganActivityBundle Installing an Activity Bundle On a separate computer download an activity bundle to a USB stick then install it on the XO unit.
Tests/SmokeTest/JournalFill Filling up the journal Get to the point where the journal has 200+ items to determine how it effects the XO unit
Tests/SmokeTest/NetworkConnections Trying different connection types Connect with a school server and confirm in terminal; connect to WPA, WPA2, WEP
Tests/SmokeTest/StartUp Start Up Boot up your XO unit in secure and/or non secure mode. You can only boot in secure mode if you are testing a signed release.
Tests/SmokeTest/SuspendResume Suspend/Resume due to closed unit Practically close the XO unit (but not fully) to see how the unit reacts
Tests/SmokeTest/USBfiletransfer Transfer files to a USB stick Take files either in the journal or in the journal from the activities smoke test

Other Test Cases

Test case Short name Test objective Add test result
Short name Test objective
Tests/Acquiring a developer key Acquiring a Developer Key Verify that a secured XO can be made unsecured by obtaining a developer key online and performing the procedure to turn a secured XO into an unsecured one according to the XO's provided instructions.
Tests/other/Battery Battery life logging Check how long the battery lasts for a given build running given sets of Activities; also checks that the build has the ability to monitor battery life through olpc-pwr-log.


Other queries

(Edit a section to see its query's syntax.)

For other examples of queries, see Other TestCase Queries, Testcase Query Examples, and comments at Semantic MediaWiki#Suggestions_for_test_cases.

General (older) test cases

This is a list of test cases that existed before the test case template. Once these have been moved into the template, this section can go away.

Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox