TestingProcessesUbuntuPersonal

Differences between revisions 2 and 9 (spanning 7 versions)
Revision 2 as of 2015-06-11 09:49:36
Size: 1661
Editor: 10
Comment:
Revision 9 as of 2015-06-29 12:07:13
Size: 3844
Editor: 10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
vrruiz can you fill this section please
 * All merge proposals must have been reviewed and approved.
 * All automated tests must pass.
 * New features must come with automated tests.
 * New strings must be marked for translation.
Line 9: Line 14:

Install phablet-tools package in your desktop machine.

 * Flash the phone with the latest development image (instructions [[https://wiki.ubuntu.com/QATeam/ChannelsToFlash#Image_Testing_Channels|here]] )
 * `citrain device-upgrade <silo number> <password>`
 * Overlay PPA
   * In case of Vivid + Overlay PPA, the silo packages need to be pinned to a higher priority. Otherwise, silo packages won't be installed.
   * Create this file: `sudo vi /etc/apt/preferences.d/silo.pref`
   * Add these lines (silo number must be 0-padded, e.g. landing-001):

{{{
Package: *
Pin: release o=LP-PPA-ci-train-ppa-service-landing-<silo number>
Pin-Priority: 1002
}}}

   * Save the file.
   * Update the package list: `sudo apt-get update`
   * Upgrade the packages: `sudo apt-get upgrade`
Line 10: Line 35:

  * [[https://wiki.ubuntu.com/Process/Merges/TestPlan/|List of test plans]].
Line 11: Line 39:
Any relevant silo bug should be added to the Regression Test Suite as draft.

=== More Info ===
[[https://wiki.ubuntu.com/LandingTeam/SiloTestingGuidelines|More info can be found here]]
Line 13: Line 46:
Images are scheduled [[https://docs.google.com/spreadsheets/d/1LiPHq39XvPaTQoE8vmi-dqSVMTGGLfCh7bFY01BcNNk/edit#gid=50|here]]
Line 14: Line 48:
For Custom Tarballs Read: https://wiki.ubuntu.com/QATeam/ChannelsToFlash#Testing_Custom_Tarballs <<BR>>
For Device Tarballs Read: https://wiki.ubuntu.com/QATeam/ChannelsToFlash#Testing_Device_Tarballs
Line 15: Line 51:
See Sanity Testing Below for device tarballs
For Custom Tarballs look at practitest (cases need adding here)
Line 16: Line 54:
All new cases must be added to the "To Review" Queue in practitest
Line 20: Line 59:
 * Follow the instructions [[https://wiki.ubuntu.com/QATeam/ChannelsToFlash#Image_Testing_Channels|here]] to get the latest image install
 * Then run the sanity suite
Line 21: Line 62:
Sanity test are located in practitest currently
Line 27: Line 69:
 * Follow the instructions [[https://wiki.ubuntu.com/QATeam/ChannelsToFlash#Image_Testing_Channels|here]] to get the latest image install
 * Then run the regression suite
Line 28: Line 72:
Regression tests are located in Practitest Currently

WIP

There are a lot of new terms, tools and procedures we want to use for Testing on Ubuntu Personal. This page is here to document those processes.

Silo Testing

Prechecks

  • All merge proposals must have been reviewed and approved.
  • All automated tests must pass.
  • New features must come with automated tests.
  • New strings must be marked for translation.

Installation

Install phablet-tools package in your desktop machine.

  • Flash the phone with the latest development image (instructions here )

  • citrain device-upgrade <silo number> <password>

  • Overlay PPA
    • In case of Vivid + Overlay PPA, the silo packages need to be pinned to a higher priority. Otherwise, silo packages won't be installed.
    • Create this file: sudo vi /etc/apt/preferences.d/silo.pref

    • Add these lines (silo number must be 0-padded, e.g. landing-001):

Package: *
Pin: release o=LP-PPA-ci-train-ppa-service-landing-<silo number>
Pin-Priority: 1002
  • Save the file.
  • Update the package list: sudo apt-get update

  • Upgrade the packages: sudo apt-get upgrade

Test Plan Locations

Reporting New Cases

Any relevant silo bug should be added to the Regression Test Suite as draft.

More Info

More info can be found here

Tarball Testing

Prechecks

Images are scheduled here

Installation

For Custom Tarballs Read: https://wiki.ubuntu.com/QATeam/ChannelsToFlash#Testing_Custom_Tarballs
For Device Tarballs Read: https://wiki.ubuntu.com/QATeam/ChannelsToFlash#Testing_Device_Tarballs

Test Plan Locations

See Sanity Testing Below for device tarballs For Custom Tarballs look at practitest (cases need adding here)

Reporting New Cases

All new cases must be added to the "To Review" Queue in practitest

Sanity Testing

Prechecks

All silos are landed and all tarballs are landed.

Installation

  • Follow the instructions here to get the latest image install

  • Then run the sanity suite

Test Plan Locations

Sanity test are located in practitest currently

Reporting New Cases

Sanity is a deliberately selected small subset of tests targeting software interactions with hardware. Any additional tests felt required should be discussed with the entire team via the mailing list or standups.

Regression Testing

Prechecks

Sanity Must of been run to ensure the image is at least testable

Installation

  • Follow the instructions here to get the latest image install

  • Then run the regression suite

Test Plan Locations

Regression tests are located in Practitest Currently

Reporting New Cases

New Cases should not be found while testing regression, however you may want make a note here(add a link later) to remind you to look at something during exploratory testing.

Exploratory Testing

Prechecks

Installation

Recording Test and Session

Reporting New Cases

If there is automation required here it should be reported as a bug for the development team.
If there are new manual cases they should be put into draft for review in practitest.

Automated Testing

Prechecks

Installation

Test Plan Locations

Reporting Of Failures

QATeam/TestingProcessesUbuntuPersonal (last edited 2015-12-03 13:56:01 by 1)