QA/B2G/How To Test Firefox OS/Clock

From MozillaWiki
Jump to: navigation, search

Clock

Stability (Open to Test)

Link to: Developer's status

How to test this App

One and Done: Needs a one and done
Clock Application Coverage
Access Points
  • Homescreen
Data Management
  • Alarm Time
  • Lap Times
  • Alarm Sound
Areas to test
  • Alarms
  • Timer
  • Stopwatch
User Actions
  • Create new alarm
  • Change from Analog to Digital
  • Disable Alarm
  • Start Timer
  • Add to Timer
  • Start Stopwatch
  • Create Lap Time
  • Pause Stopwatch
  • Reset Stopwatch
  • Delete Alarm
  • Edit Alarm
Positive & Negative Testing
http://www.guru99.com/positive-vs-negative-testing.html
Positive Examples
  • Setting an Alarm
  • Dismissing an Alarm
Negative Examples
  • Setting an Alarm Sound to a sound that is no longer in the phone
Boundary Testing
http://en.wikipedia.org/wiki/Boundary_testing
  • Setting 20+ Alarms
  • Having more than 10 Alarms go off at the same time
Race Conditions
http://en.wikipedia.org/wiki/Race_condition
  • Set multiple alarms to go off at the same time
  • Have an alarm go off the same time a call is made

FXOS Contacts

Team Members
Component QA Owner
  • Edward Chen

Fixed in last 7 days

Open Bugs

Last 7 days

Bugzilla query error

Sprint Details

Design Documents

UX Specs
https://mozilla.app.box.com/applications/1/864504610
Building Blocks
https://wiki.mozilla.org/Gaia/Design/BuildingBlocks
https://etherpad.mozilla.org/b2g-features-checklist

User Stories Metas

Setup

1. Launch from homescreen

Automation Scripts

How to Run Automation
gaiatest --testvars=gaiatest/testvars.json --address=localhost:2828 --restart --timeout=100000 gaiatest/tests/functional/clock/manifest.ini
Automated Clock Smoketests
  • test_clock_create_new_alarm.py
All Gaia-UI Functional Tests
https://github.com/mozilla-b2g/gaia/tree/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/clock
Unit Tests
  • n/a

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.

Bug Writing

Link to Bug Writing Document