Firefox OS/MoztrapGuideline: Difference between revisions
Jump to navigation
Jump to search
Line 74: | Line 74: | ||
** Test cases for current master | ** Test cases for current master | ||
*** Usually created before FL, keep maintaining by current function owners. | *** Usually created before FL, keep maintaining by current function owners. | ||
** Test cases for other branches | |||
* Test cases for other branches | *** Maybe created by partners or added because of regression found or just missing test coverage | ||
** Maybe created by partners or added because of regression found or just missing test coverage | *** Keep maintaining by partners or by current function owners. | ||
** 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 bugs or added because of regression found | |||
** Keep maintaining by current function owners. | |||
* '''Invalid/redundant cases - how to?''' | * '''Invalid/redundant cases - how to?''' | ||
Line 89: | Line 86: | ||
*** Using keyword/tag search to find issue? | *** Using keyword/tag search to find issue? | ||
*** Reported by partner or people who runs cases everyday (big thanks!) | *** Reported by partner or 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. | |||
== Improvement == | == Improvement == |
Revision as of 03:49, 27 November 2014
Work on Moztrap
- Moztrap General
- MozTrapHelper by Shing - recommend to add this to your Firefox browser.
Test case creation
- Test case creation primer - read this before creating test cases^^
- All-pairs testing - tests all possible discrete combinations of those parameters without lots of redundant cases.
- General
- Tool
- Perl script or Windows executable, 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
- Test case with tags like v1.1, v2.1 means the cases were created since Firefox v1.1 or v2.1 respectively.
- 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
- Case can be tested in short time
- [RAT] prefix
- Release acceptance test - contains happy cases
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 created by partners or added because of regression found or just missing 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?
- Using keyword/tag search to find issue?
- Reported by partner or 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?
Improvement
Search link, Submit a new bug for Moztrap
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);