Functional Tests

The SIM test cases have been moved into our ofono git repository. For each of the test cases orginally described on this page ( except Phonebook ), a test script based on Python's unittest framework has been written. These test scripts perform verification of the test case criteria, and are self documenting. Please refer to the embedded pydoc comments, and/or use the pydoc tool to view the documentation.

SIM Functional Test Cases: https://github.com/rilmodem/ofono/tree/master/test/rilmodem/sim

Automation Status

The functional test scripts are currently run manually by developers before releasing new versions of ofono to the archive. Automation of these scripts is blocked by the following issues:


Phonebook Import Tests

1. Test importing contacts from the SIM

Purpose

This test case verifies that we can import successfully contacts stored in the SIM.

Requirements

A SIM card with multiple contacts stored.

Steps

Verification

Output should consist of a list of contacts in vCard format.

Note - ofono only supports a single number and/or email per contact, so imported contacts will only include the first email address/phone number stored in the SIM contact.

Other Ideas

If we decide to use some of these scripts for automated testing, one idea for verification would be to create a database which could be indexed by CardIdentifier(s), model/serial. This could help where the exported properties of a device differ from the norm ( eg. krillin vs. mako ).

Process/Merges/TestPlans/ofono/SIM (last edited 2015-09-08 06:25:12 by alfonsosanchezbeato)