Firefox OS/MoztrapGuideline: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:
* '''[https://wiki.mozilla.org/QA/Execution/MozTrap Moztrap General]'''
* '''[https://wiki.mozilla.org/QA/Execution/MozTrap Moztrap General]'''
* '''[https://addons.mozilla.org/EN-uS/firefox/addon/moztraphelper MozTrapHelper by Shing]''' - recommend to add this to your Firefox browser.
* '''[https://addons.mozilla.org/EN-uS/firefox/addon/moztraphelper MozTrapHelper by Shing]''' - recommend to add this to your Firefox browser.
* '''[https://etherpad.mozilla.org/test-case-reduction-brainstorming Previous discussion]'''


* [https://etherpad.mozilla.org/test-case-reduction-brainstorming Previous discussion]
== Test case creation ==
* '''Do a search, check for duplicate case''' before you create any case/suite!!


== Test case creation ==
* '''[https://developer.mozilla.org/en-US/docs/Mozilla/QA/Test_Case_Writing_Primer Test case creation primer]''' - read this before creating test cases^^
* '''[https://quality.mozilla.org/docs/test-case-writing-primer Test case creation primer]''' - read this before creating test cases^^
* '''All-pairs testing''' - Test all possible discrete combinations of those parameters without lots of redundant cases.
* '''All-pairs testing''' - Test all possible discrete combinations of those parameters without lots of redundant cases.
** General
** General
Line 69: Line 70:
* [https://moztrap.mozilla.org/manage/suites/?&pagenumber=1&pagesize=20&sortfield=created_on&sortdirection=desc&filter-name=%5Brat%5D [RAT<nowiki>]</nowiki>] prefix
* [https://moztrap.mozilla.org/manage/suites/?&pagenumber=1&pagesize=20&sortfield=created_on&sortdirection=desc&filter-name=%5Brat%5D [RAT<nowiki>]</nowiki>] prefix
** Release acceptance test - contains [http://en.wikipedia.org/wiki/Happy_path happy cases]
** Release acceptance test - contains [http://en.wikipedia.org/wiki/Happy_path happy cases]
* Test cases in proper suites
** Please also include your newly created cases in proper suites, for example, Case [https://moztrap.mozilla.org/manage/case/14102/ #14102] [Contacts][ICE] Set ICE contacts, is in [https://moztrap.mozilla.org/manage/cases/?#commscontacts [Comms<nowiki>]</nowiki>Contacts suite], [https://moztrap.mozilla.org/manage/cases/?&pagenumber=1&pagesize=100&sortfield=created_on&sortdirection=desc&filter-suite=215&filter-suite=789 [RAT<nowiki>]</nowiki> Comms suite] and [https://moztrap.mozilla.org/manage/cases/?filter-suite=687 [Small set<nowiki>]</nowiki>[Comms<nowiki>]</nowiki> Contacts], since this is a new feature in V2.1, it should also be included in the [https://moztrap.mozilla.org/manage/cases/?filter-suite=832 2.1 New Features] suite.


== When to do what ==
== When to do what ==
Line 81: Line 85:
*** Keep maintaining by current function owners.
*** Keep maintaining by current function owners.


* '''Invalid/redundant cases - how to?'''
* '''Invalid/Redundant cases - how to?'''
** How to spot them?
** How to spot them?
*** Scout around?  
*** Scout around?
*** Go through all cases?
*** Go through all cases and add tags to group similar cases? Continue to work on small set.
*** Using keyword/tag search to find issue?
*** Using keyword/tag searching/sorting to find issue?
*** Reported by partner or people who runs cases everyday (big thanks!)
*** Reported by people who runs cases everyday (big thanks!)
** Maintenance
** Maintenance
*** Just updating them by yourself or  
*** Just updating them by yourself or  
*** Pass them to functional area owners to review and to update.
*** Pass them to functional area owners to review and to update.
* '''Cases not in a suite - how to?'''
** The [https://moztrap.mozilla.org/manage/cases/?filter-suite=579 DroppedOnTheFloor] suite is created to gather all cases that were previously not in any other suite, so that means the cases were never executed before. We need to continue to work on this.
*** For cases that currently in a suite (other than DroppedOnTheFloor) - we can remove the case from DroppedOnTheFloor.
*** For cases that currently in DroppedOnTheFloor only - Pass cases to functional owner to update/delete them.


== Improvement ==
== Improvement ==

Latest revision as of 10:29, 17 March 2016

General Info

Test case creation

  • Do a search, check for duplicate case before you create any case/suite!!

Test case priority

Link

  • Define test case’s priority
    • P1 - Feature smoketests
    • P2 - Feature basic functional tests
    • P3 - Boundary, edge, stress test cases
    • P4 - Anything else that doesn't fall in the above buckets

Organize cases

  • Mindmap
    • Use a mind map to show the structure of your test cases, mindmup integrates with Google drive, permission also controlled by Google drive.
    • Sample: v2.1 contacts new features
  • Tags
    • Test case with tags like v1.1, v2.1 means the cases were created since Firefox v1.1 or v2.1 respectively.
    • Use proper tags to describe your case, easy for searching and categorization.
    • Sample: #15054
  • Moztrap Suite

Put functional prefix before suites.

Functional Prefix Example
Communications [Comms] [Comms]Dialer
Device [Device] [Device] Media Transfer Protocol
Bluetooth [BT] [BT]Bluetooth
Media [Media] [Media]Gallery
Multimedia Platform [Media PF] [Media PF]WebRTC P2P
Networking/Connectivity [RIL] [RIL]SimToolKit
Productivity [Prod] Example
System Front-End [Sys FE] Example
System Platform [Sys PF] [Sys PF]Airplane Mode
Services [Service] Example
Performance & Metrics [Perf] Example

When to do what

  • Case creation and maintenance
    • Test cases for current master
      • Usually created before FL, keep maintaining by current function owners.
    • Test cases for other branches
      • Maybe they are created by partners, added because of regression found or a feature just need more test coverage.
      • Keep maintaining by partners or by current function owners.
    • Test cases for bugs or added because of regression found
      • Keep maintaining by current function owners.
  • Invalid/Redundant cases - how to?
    • How to spot them?
      • Scout around?
      • Go through all cases and add tags to group similar cases? Continue to work on small set.
      • Using keyword/tag searching/sorting to find issue?
      • Reported by people who runs cases everyday (big thanks!)
    • Maintenance
      • Just updating them by yourself or
      • Pass them to functional area owners to review and to update.
  • Cases not in a suite - how to?
    • The DroppedOnTheFloor suite is created to gather all cases that were previously not in any other suite, so that means the cases were never executed before. We need to continue to work on this.
      • For cases that currently in a suite (other than DroppedOnTheFloor) - we can remove the case from DroppedOnTheFloor.
      • For cases that currently in DroppedOnTheFloor only - Pass cases to functional owner to update/delete them.

Improvement

Search link, Submit a new bug for Moztrap

No results.

0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);