Closed Bug 1086654 Opened 10 years ago Closed 6 years ago

Testing stack to be able to know the hardware capabilities of the device it's running on

Categories

(Firefox OS Graveyard :: Infrastructure, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zcampbell, Unassigned)

Details

We need to know the hardware capabilities of a device or b2g instance before we run a test on it so that when we do run tests we do can choose the most appropriate device.

For example, monkey tests will need a device that has no SIM and functional tests need a device with a SIM.

A user can be 'protected' against running tests against a b2g instance that is not sufficient by failing fast instead of giving the wrong test results.

Somewhere in the stack, perhaps in Marionette (integrated with the DesiredCapabilities class), or via mozdevice/mozbase. Let's discuss it here and then move this bug as appropriate.

This should not use Gaia or WebAPIs to derive the information seeing as the test framework is also used to test these APIs, we could expose ourselves to false positives and so forth if the APIs regress.

The capabilities should be derived through Gecko or through adb.

Some capabilities that the test framework would like to know about:
Camera (front/back/both)
Headphone (plugged in or not)
RIL (1 or 2 SIM, phone numbers)
SD Card(s)
Bluetooth 
Wifi 
NFC
GPS/geolocation
Vibration
Component: Mozbase → Infrastructure
Product: Testing → Firefox OS
QA Contact: hskupin
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.