QA/Mobile/FocusAndroidTestPlan: Difference between revisions

From MozillaWiki
< QA
Jump to navigation Jump to search
(personnel defined)
(Test strategy added)
Line 29: Line 29:


* NOTE: Focus for Android bugs are maintained in [https://github.com/mozilla-mobile/focus-android/issues Github]
* NOTE: Focus for Android bugs are maintained in [https://github.com/mozilla-mobile/focus-android/issues Github]
([https://github.com/mozilla-mobile/focus-android/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Av1.0%20is%3Aissue%20label%3Afeature%20 List of complete P1 features])
* ([https://github.com/mozilla-mobile/focus-android/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Av1.0%20is%3Aissue%20label%3Afeature%20 List of complete P1 features])


= Schedule =
= Schedule =
Line 47: Line 47:


= Resource Plan =
= Resource Plan =
 
* Each QA person will have 40% allocation to this project
= HW/SW Specification/Requirements =


= Test Strategy =
= Test Strategy =
== Manual Tests ==
== Manual Tests ==
UI Test suite for Focus for Android will be located in TestRail (Insert Link). As a minimum, each of the P1 features will have their corresponding test cases


== Automated Tests ==
== Automated Tests ==
Automation tests will be mainly used for quick regression check of key UI features. Overall, automation tests will be added to the same Github repo, and executed on [https://dashboard.buddybuild.com/apps/584f67f6f3d6eb01000842d6 BuddyBuild CI system]. While the unit tests will be run for each commit, UI Tests (in Espresso framework) will be executed in master branch only.  The test result will be inspected for new failures, and github issue will be raised for tracking.
Following automation test cases will be added by end of the May:
* Accessing badly formed URL
* Accessing each of pull-down menu items
* Accessing simple webpages
* Changing search engine
* Checking for overall appearance
* Deleting browsing history
* Quick check of URL autocompletion
* Quick check of webview data deletion
* Quick check of Onboarding dialog (Pending)
* Custom tabs (Pending)
* Check notification while browsing session is active (Pending)
In addition to regularly run automated tests, QA will also generate screenshots for [https://l10n.mozilla-community.org/webstatus/?product=focus-android l10n verification].


== Code Analysis ==
== Code Analysis ==
[https://codecov.io/gh/mozilla-mobile/focus-android/branch/master Codecov] is added to the github repo, and will display increase/decrease of unit test code coverage
== Outside Scope ==
Following tests are outside the scope of the QA:
* Unit Tests
* Performance Tests
* Localization Tests


== Test Deliverables ==
== Test Deliverables ==

Revision as of 19:41, 3 May 2017

This is the Test Plan for Focus for Android (https://github.com/mozilla-mobile/focus-android)

Intro/Summary/Notes

Intro and Summary

  • The following document/wiki outlines the "catch-all" test requirements for Focus for Android V1.
  • Use this generalized Test Plan as a starting point for creating Plans, Suites, and Cases

Notes

Feature Lists

  • "Must" P1 features:
    • Provide tracking-free browsing experience
    • Erase browsing history
    • Enable/Disable blocking of different types of trackers
    • Onboarding, we will highlight features that we believe will bring retention
    • Per session blocking
    • Custom tabs (scoped down)
    • Show notification while browsing session is active
    • Create localized completion list
    • Setting to allow screenshots
    • Support app shortcuts API
  • P2 (if time permits, in order of priority)
    • Show number of ads/trackers blocked (4)
    • Locale switcher for Android (5)
    • Allow saving images in a website (4)
    • Add "search" action into text selection of third-party apps (3)

Schedule

  • All features for V1 should be completed by May 31st, 2017 to begin acceptance testing
  • Testing should be completed by June 6th, 2017.
  • Focus for Android is scheduled to be released June 12th, 2017.

Personnel

Program Management

Development

== QA Team =-

Resource Plan

  • Each QA person will have 40% allocation to this project

Test Strategy

Manual Tests

UI Test suite for Focus for Android will be located in TestRail (Insert Link). As a minimum, each of the P1 features will have their corresponding test cases

Automated Tests

Automation tests will be mainly used for quick regression check of key UI features. Overall, automation tests will be added to the same Github repo, and executed on BuddyBuild CI system. While the unit tests will be run for each commit, UI Tests (in Espresso framework) will be executed in master branch only. The test result will be inspected for new failures, and github issue will be raised for tracking.

Following automation test cases will be added by end of the May:

  • Accessing badly formed URL
  • Accessing each of pull-down menu items
  • Accessing simple webpages
  • Changing search engine
  • Checking for overall appearance
  • Deleting browsing history
  • Quick check of URL autocompletion
  • Quick check of webview data deletion
  • Quick check of Onboarding dialog (Pending)
  • Custom tabs (Pending)
  • Check notification while browsing session is active (Pending)

In addition to regularly run automated tests, QA will also generate screenshots for l10n verification.

Code Analysis

Codecov is added to the github repo, and will display increase/decrease of unit test code coverage

Outside Scope

Following tests are outside the scope of the QA:

  • Unit Tests
  • Performance Tests
  • Localization Tests

Test Deliverables

Dependencies/Risks

Signoff/Exit Criteria

= References