Firefox OS/MoztrapGuideline: Difference between revisions
Jump to navigation
Jump to search
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== | == General Info == | ||
* '''[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]''' | |||
* | == Test case creation == | ||
* '''Do a search, check for duplicate case''' before you create any case/suite!! | |||
* '''[https://developer.mozilla.org/en-US/docs/Mozilla/QA/Test_Case_Writing_Primer Test case creation primer]''' - read this before creating test cases^^ | |||
* '''[https:// | * '''All-pairs testing''' - Test all possible discrete combinations of those parameters without lots of redundant cases. | ||
* All-pairs testing - | |||
** General | ** General | ||
*** http://en.wikipedia.org/wiki/All-pairs_testing | *** http://en.wikipedia.org/wiki/All-pairs_testing | ||
Line 13: | Line 14: | ||
*** http://www.testingeducation.org/wtst5/PairwisePNSQC2004.pdf | *** http://www.testingeducation.org/wtst5/PairwisePNSQC2004.pdf | ||
** Tool | ** Tool | ||
*** [http://www.satisfice.com/tools.shtml Perl script or Windows executable], it shows the cases needed for testing a feature. | *** [http://www.satisfice.com/tools.shtml Perl script or Windows executable] - input parameter options, it shows the cases needed for testing a feature. | ||
** Sample | ** Sample | ||
*** [https://docs.google.com/a/mozilla.com/spreadsheets/d/1hda6BbG9fDhrIQ4UNmfoloeaxufHuhUdS7sF4xLWyZI/edit#gid=1352221212 Rocketbar] | *** [https://docs.google.com/a/mozilla.com/spreadsheets/d/1hda6BbG9fDhrIQ4UNmfoloeaxufHuhUdS7sF4xLWyZI/edit#gid=1352221212 Rocketbar] | ||
Line 29: | Line 30: | ||
** Use a mind map to show the structure of your test cases, [http://blog.mindmup.com/p/working-with-google-drive.html mindmup] integrates with Google drive, permission also controlled by Google drive. | ** Use a mind map to show the structure of your test cases, [http://blog.mindmup.com/p/working-with-google-drive.html mindmup] integrates with Google drive, permission also controlled by Google drive. | ||
** Sample: [https://drive.google.com/file/d/0BwgJXAu4xYVHTk5mWG1DNWE5Mnc/view?usp=sharing v2.1 contacts new features] | ** Sample: [https://drive.google.com/file/d/0BwgJXAu4xYVHTk5mWG1DNWE5Mnc/view?usp=sharing v2.1 contacts new features] | ||
* '''Tags''' | |||
** Test case with tags like [https://moztrap.mozilla.org/manage/cases/?filter-id=6887 v1.1], [https://moztrap.mozilla.org/manage/cases/?filter-id=15056 v2.1] means the cases were created since Firefox v1.1 or v2.1 respectively. | ** Test case with tags like [https://moztrap.mozilla.org/manage/cases/?filter-id=6887 v1.1], [https://moztrap.mozilla.org/manage/cases/?filter-id=15056 v2.1] means the cases were created since Firefox v1.1 or v2.1 respectively. | ||
** Use proper [https://moztrap.mozilla.org/manage/tags/ tags] to describe your case, easy for searching and categorization. | |||
** Sample: [https://moztrap.mozilla.org/manage/cases/?filter-id=15054 #15054] | |||
* '''Moztrap Suite''' | * '''Moztrap Suite''' | ||
Line 61: | Line 66: | ||
* [https://moztrap.mozilla.org/manage/suites/?&pagenumber=1&pagesize=20&sortfield=created_on&sortdirection=desc&filter-name=small+set [Small set<nowiki>]</nowiki>] prefix | * [https://moztrap.mozilla.org/manage/suites/?&pagenumber=1&pagesize=20&sortfield=created_on&sortdirection=desc&filter-name=small+set [Small set<nowiki>]</nowiki>] prefix | ||
** | ** Cases can be tested in short time | ||
* [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 == | ||
* | * '''Case creation and maintenance''' | ||
** Test cases for current master | ** '''Test cases for current master''' | ||
** Test cases for other branches | *** Usually created before FL, keep maintaining by current function owners. | ||
** Test cases | ** '''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 [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
- Moztrap General
- MozTrapHelper by Shing - recommend to add this to your Firefox browser.
- Previous discussion
Test case creation
- Do a search, check for duplicate case before you create any case/suite!!
- 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.
- General
- Tool
- Perl script or Windows executable - input parameter options, it shows the cases needed for testing a feature.
- Sample
Test case priority
- 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
- 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 |
- [Small set] prefix
- Cases can be tested in short time
- [RAT] prefix
- Release acceptance test - contains happy cases
- Test cases in proper suites
- Please also include your newly created cases in proper suites, for example, Case #14102 [Contacts][ICE] Set ICE contacts, is in [Comms]Contacts suite, [RAT] Comms suite and [Small set][Comms] Contacts, since this is a new feature in V2.1, it should also be included in the 2.1 New Features suite.
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.
- Test cases for current master
- 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.
- How to spot them?
- 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.
- 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.
Improvement
Search link, Submit a new bug for Moztrap
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);