Test Plan

Install latest (utopic-proposed) image on phone. Install freshly build MPs that are needed for landing Ensure that all AP tests pass on the device what are marked OK on the CI dash.

Local Validation

$ bzr branch lp:ubuntu-ui-toolkit/staging $ cd ubuntu-ui-toolkit/tests

The uitk_test_plan.sh is the script to execute the test plan

Usage

uitk_test_plan.sh -s [serial number] -m -c

Example

$./uitk_test_plan.sh -c -p ppa:ci-train-ppa-service/landing-010 -f music

Typical use cases

By default the uitk_test_plan.sh flashes the latest RTM image on the device, installs the click application tests, configures the ppa:ubuntu-sdk-team/staging PPA, installs the UITK from the PPA and executes the test plan.

Validate the staging branch of the UITK against the RTM image

$ ./uitk_test_plan.sh -c

Validate the UITK from a CI silo on an RTM image

$ ./uitk_test_plan.sh -c -p 001

Validate the UITK from a specific CI silo on an Ubuntu Utopic image

$ ./uitk_test_plan.sh -c -p 001 -u

Provision the device for manual testing with the latest RTM image

$ ./uitk_test_plan.sh -c -p archive -n

Provision the device for manual testing with the latest Ubuntu Utopic image

$ ./uitk_test_plan.sh -c -p archive -u -n

Run the test plan on an already provisioned device

$ ./uitk_test_plan.sh

Run only the UITK tests on an already provisioned device

$ ./uitk_test_plan.sh -f ubuntuuitoolkit

Suggested process by QA

If anything failed (and it probably did), reflash without the silo then re-test the components which failed. Requires editing uitk_test_plan.sh again, to remove components which don't need re-testing. Then compare the results against the first run. If the silo has the same or fewer failures as the base image, it passes.

Note that several AP tests like to produce a different number of failures on each test run. This can greatly complicate the above process.

Process/Merges/TestPlan/ui-toolkit (last edited 2014-09-12 12:52:07 by nemein)