Smoke test
From OLPC
[edit] Full-build smoke test
This set of test cases represents a quick smoke test that the build should pass. See the smoke tests for a particular release for more details.
- Boot into sugar
- Check the OS, OFW, kernel from developer's console
- Check wireless firmware version: from virtual terminal type ethtool -i eth0.
- Connect to a local mesh and see other XOs (this needs to be in a location with no school server or infrastructure AP)
- Run 3 collaborative activities concurrently (AbiWord, Connect4, or Chat) with 2 other XOs
- Run Browse and ensure that library navigation sidebar and index page loads; successfully browse the internet.
- Ensure that the journal loads properly at start and is able to resume an activity.
- Connect to an AP (and/or school mesh) and browse the web
[edit] Smoke tests for particular releases
- /11.2.x/1_hour_smoke_test
- /10.1.x
- /8.2.0
- /8.1.2
- Test cases 8.2.1 includes some smoke tests
[edit] List of SmokeTest test cases
The following queries for smoke tests in the wiki. Some tests are out-of-date, despite claiming "Any"
| Short name | Test objective | For builds | |
|---|---|---|---|
| Tests/SmokeTest/.oggFiles | Playing an .ogg File in Browse | Go online in the XO and play an .ogg file to confirm totem-player works | 8.2.1 11.2 Any 8.2 |
| Tests/SmokeTest/Activities | Activities | Open and perform various activities on the XO unit and then close them. | 8.2.1 11.2 Any 8.2 |
| Tests/SmokeTest/Chat | Collaboration with Chat | Initiate a chat within your neighborhood | 8.2.1 11.2 Any 8.2 |
| Tests/SmokeTest/Distance | Distance | Get 2 XOs running the distance activity | 8.2.1 11.2 Any 8.2 |
| 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. | 11.2 Any 8.2 8.2.1 |
| Tests/SmokeTest/InstallingaLibraryBundle | Installing a Library Bundle | Go to the Collections wiki on the XO unit and download some reference materials | Any 8.2 8.2.1 |
| 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. | Any 8.2 |
| 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 | Any |
| Tests/SmokeTest/NetworkConnections | Trying different connection types | Connect with a school server and confirm in terminal; connect to WPA, WPA2, WEP | Any 8.2 Staging |
| 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. | Any 8.2 |
| Tests/SmokeTest/SuspendResume | Suspend/Resume due to closed unit | Practically close the XO unit (but not fully) to see how the unit reacts | Any 8.2 8.2.1 |
| Tests/SmokeTest/USBfiletransfer | Transfer files to a USB stick | Take files either in the journal or in the journal from the activities smoke test | Any 8.2 |

