ui-toolkit

Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2014-09-09 05:14:48
Size: 2065
Editor: a88-114-196-56
Comment:
Revision 6 as of 2014-09-09 05:46:16
Size: 2141
Editor: a88-114-196-56
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
* -p reminders-app-autopilot reminders
* -p dialer-app-autopilot dialer_app
* -p messaging-app-autopilot messaging_app
* -p ubuntu-system-settings-autopilot ubuntu_system_settings
* -p ubuntu-html5-ui-toolkit-autopilot ubuntu_html5_ui_toolkit
* -p unity-webapps-qml-autopilot unity_webapps_qml
* filemanager
* dropping_letters_app
* sudoku_app
* -p ubuntu-ui-toolkit-autopilot ubuntuuitoolkit
* -p webbrowser-app-autopilot webbrowser_app
* -n unity8
* shorts_app
* calendar_app
* music_app
* -p mediaplayer-app-autopilot mediaplayer_app
* ubuntu_terminal_app
* ubuntu_clock_app
* ubuntu_calculator_app
* ubuntu_weather_app
* -p address-book-app-autopilot address_book_app
* online_accounts_ui
* gallery_app
* -p camera-app-autopilot camera_app
  * p reminders-app-autopilot reminders
  * -p dialer-app-autopilot dialer_app
  * -p messaging-app-autopilot messaging_app
  
* -p ubuntu-system-settings-autopilot ubuntu_system_settings
  * -p ubuntu-html5-ui-toolkit-autopilot ubuntu_html5_ui_toolkit
  * -p unity-webapps-qml-autopilot unity_webapps_qml
  * filemanager
  * dropping_letters_app
  
* sudoku_app
  * -p ubuntu-ui-toolkit-autopilot ubuntuuitoolkit
  * -p webbrowser-app-autopilot webbrowser_app
  * -n unity8
  * shorts_app
  * calendar_app
  * music_app
  
* -p mediaplayer-app-autopilot mediaplayer_app
  * ubuntu_terminal_app
  
* ubuntu_clock_app
  * ubuntu_calculator_app
  
* ubuntu_weather_app
  * -p address-book-app-autopilot address_book_app
  * online_accounts_ui
  
* gallery_app
  * -p camera-app-autopilot camera_app
Line 44: Line 44:
Usage: uitk_test_plan.sh -s [serial number] -m -c"
-r : Reset after each tests.
-s: Use the device with the given serial number.
-c : Comission the device with the PPA enabled
-n : Do not run the test set.
-o : Output directory.
-p : Source PPA for the UITK. Use -p archive to test stock image.
-f : Filter for the test suite.
== Usage ==
Line 53: Line 46:
Example: uitk_test_plan.sh -s [serial number] -m -c"

  -r : Reset after each tests.
  -s: Use the device with the given serial number.
  -c : Comission the device with the PPA enabled
  -n : Do not run the test set.
  -o : Output directory.
  -p : Source PPA for the UITK. Use -p archive to test stock image.
  -f : Filter for the test suite.

== Example ==

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.

  • p reminders-app-autopilot reminders
  • -p dialer-app-autopilot dialer_app
  • -p messaging-app-autopilot messaging_app
  • -p ubuntu-system-settings-autopilot ubuntu_system_settings
  • -p ubuntu-html5-ui-toolkit-autopilot ubuntu_html5_ui_toolkit
  • -p unity-webapps-qml-autopilot unity_webapps_qml
  • filemanager
  • dropping_letters_app
  • sudoku_app
  • -p ubuntu-ui-toolkit-autopilot ubuntuuitoolkit
  • -p webbrowser-app-autopilot webbrowser_app
  • -n unity8
  • shorts_app
  • calendar_app
  • music_app
  • -p mediaplayer-app-autopilot mediaplayer_app
  • ubuntu_terminal_app
  • ubuntu_clock_app
  • ubuntu_calculator_app
  • ubuntu_weather_app
  • -p address-book-app-autopilot address_book_app
  • online_accounts_ui
  • gallery_app
  • -p camera-app-autopilot camera_app

Local Validation

$ bzr branch lp:ubuntu-ui-toolkit $ 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"

  • -r : Reset after each tests. -s: Use the device with the given serial number. -c : Comission the device with the PPA enabled -n : Do not run the test set. -o : Output directory. -p : Source PPA for the UITK. Use -p archive to test stock image. -f : Filter for the test suite.

Example

$./uitk_test_plan.sh -c -p ppa:ci-train-ppa-service/landing-010 -f music This will flash the image from the ubuntu-touch/utopic-propose, set up the click test nd install the UITK from the Silo10 PPA

The script dumps the test results in the local directory and tries max 3 times if an app test is not OK.

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