QA/B2G/How To Test Firefox OS/App Page Template: Difference between revisions

Updating
(Template for App page creation)
 
(Updating)
Line 6: Line 6:
* [https://docs.google.com/a/qanalydocs.com/spreadsheets/d/1RhI81B01gzLYTeRVqFM8RC2_UiuGtFssGtX_pRycgqE/edit#gid=1193446165 Application Coverage]
* [https://docs.google.com/a/qanalydocs.com/spreadsheets/d/1RhI81B01gzLYTeRVqFM8RC2_UiuGtFssGtX_pRycgqE/edit#gid=1193446165 Application Coverage]
* Access Points
* Access Points
** list ways to access the app
:list ways to access the app
* Data Management
* Data Management
** list data types/content app utilizes
:list data types/content app utilizes
* Areas to test
* Areas to test
** list areas of app to test (Main view, compose, settings, edit, details view, etc)
:list areas of app to test (Main view, compose, settings, edit, details view, etc)
* User Actions
* User Actions
** list all actions user can perform in app
:list all actions user can perform in app
* Positive & Negative Testing
*Positive & Negative Testing
** http://www.guru99.com/positive-vs-negative-testing.html
:http://www.guru99.com/positive-vs-negative-testing.html
** Positive Examples
*Positive Examples
*** list some positive examples
:list some positive examples
** Negative Examples
*Negative Examples
*** list some negative examples
:list some negative examples
* Boundary Testing
* Boundary Testing
** http://en.wikipedia.org/wiki/Boundary_testing
:http://en.wikipedia.org/wiki/Boundary_testing
*** list some examples of boundary testing
**list some examples of boundary testing
* Race Conditions
*Race Conditions
** http://en.wikipedia.org/wiki/Race_condition
:http://en.wikipedia.org/wiki/Race_condition
*** list some examples of Race Conditions to test
**list some examples of Race Conditions to test
== FXOS Contacts==
== FXOS Contacts==
:Team Members
*Team Members
* Link to: Team Site
:Link to: Team Site
**https://wiki.mozilla.org/FirefoxOS/functionalteams
:https://wiki.mozilla.org/FirefoxOS/functionalteams
:Component QA Owner
*[Component] QA Owner
* NAME_MAILTO:
:NAME_MAILTO:
==Fixed in last 7 days==
==Fixed in last 7 days==
==Open Bugs==
==Open Bugs==
* Last 7 days  
*Last 7 days  
:<bugzilla>
:<bugzilla>
{
{
Line 46: Line 46:
     "bug_status":"ASSIGNED",
     "bug_status":"ASSIGNED",
     "bug_status":"REOPENED",
     "bug_status":"REOPENED",
     "component":"Gaia::Contacts",
     "component":"Gaia%3A%3AContacts",
     "product":"Firefox%20OS"
     "product":"Firefox%20OS"
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
}
}
</bugzilla>
</bugzilla>
* Link to: All open bugs  
*Link to: All open bugs  
:<bugzilla>
:<bugzilla>
{
{
Line 61: Line 61:
     "bug_status":"ASSIGNED",
     "bug_status":"ASSIGNED",
     "bug_status":"REOPENED"
     "bug_status":"REOPENED"
     "component":"Gaia::Contacts",
     "component":"Gaia%3A%3AContacts",
     "product":"Firefox OS",
     "product":"Firefox OS",
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
     "include_fields": "id, summary, status, resolution, component,  assigned_to, depends_on, blocks, whiteboard, cf_feature_b2g,  cf_blocking_b2g"
}
}
</bugzilla>
</bugzilla>
* All open blockers/noms
*All open blockers/noms
:<bugzilla>
:<bugzilla>
{
{
Line 89: Line 89:
==Design Documents==
==Design Documents==
:UX Specs  
:UX Specs  
:Building Blocks
*Building Blocks
* https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
:https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
* https://etherpad.mozilla.org/b2g-features-checklist
:https://etherpad.mozilla.org/b2g-features-checklist
==User Stories Metas==
==User Stories Metas==
:Open User Stories
*Open User Stories
*<bugzilla>
:<bugzilla>
{
{
     "list_id":"11826127",
     "list_id":"11826127",
Line 109: Line 109:
}
}
</bugzilla>
</bugzilla>
:All User Stories
*All User Stories
*<bugzilla>
:<bugzilla>
{
{
     "list_id":"11826127",
     "list_id":"11826127",
Line 124: Line 124:
  * list all setup needs to use app
  * list all setup needs to use app
==Automation Scripts==
==Automation Scripts==
:Link to: How to Run Automation
*Link to: How to Run Automation
* https://docs.google.com/a/qanalydocs.com/document/d/1Rf0i57kN9Fof_HgTKnnqZ3ADD0htSfploHCvGGBaL7o/edit
:https://docs.google.com/a/qanalydocs.com/document/d/1Rf0i57kN9Fof_HgTKnnqZ3ADD0htSfploHCvGGBaL7o/edit
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/[app-title]/manifest.ini
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/[app-title]/manifest.ini
:Automated Email Smoketests
*Automated Email Smoketests
* list scripts available for this app
:list scripts available for this app
from below link -V or find in gaia repository
from below link -V or find in gaia repository
:All Gaia-UI Functional Tests
*All Gaia-UI Functional Tests
* https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional + /app-title
:https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional + /app-title
* Unit Tests
*Unit Tests
** n/a
:n/a
* Other Functional Tests
*Other Functional Tests
** TBD
:TBD
==Logging==
==Logging==
Please provide the logcat by running adb logcat -v time -s GeckoDump:V Gecko:V GeckoConsole:V OomLogger:V | tee FILENAME-TO-LOG-TO.    Please start running this command BEFORE you attempt to reproduce the  problem.  logcat uses a circular buffer that discards older entries  when  the buffer fills up, so if you run logcat only after the problem  happens, you may not have all of the logic.  Once you are done, hit  control-C and send us the file.   
Please provide the logcat by running adb logcat -v time -s GeckoDump:V Gecko:V GeckoConsole:V OomLogger:V | tee FILENAME-TO-LOG-TO.    Please start running this command BEFORE you attempt to reproduce the  problem.  logcat uses a circular buffer that discards older entries  when  the buffer fills up, so if you run logcat only after the problem  happens, you may not have all of the logic.  Once you are done, hit  control-C and send us the file.   
==Bug Writing==
==Bug Writing==
* Link to Bug Writing Document
* Link to Bug Writing Document