W3C home > Mailing lists > Public > public-device-apis@w3.org > August 2012

[battery] First stab at the test suite, how to test hardware interaction?

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Fri, 24 Aug 2012 15:29:03 +0300
Message-Id: <D273CAF3-7E92-4FD4-90B3-7D4C677C228F@nokia.com>
To: "public-device-apis@w3.org public-device-apis@w3.org" <public-device-apis@w3.org>
Hi All,

I started working on a test suite for the Battery Status API:


The test suite is work in progress, as you probably notice.

Next, I'll need to figure out how to test hardware interaction. It will get interesting without real hardware to test on (or even with it, watching the battery deplete slow-ly).

For this reason, I've been looking at alternative ways how to tackle this. I noticed Mozilla guys were planning to work around this with an emulator (specifically QEMU). Does any of the Mozilla participants have more recent status than the following?



Lastly, thanks Marcos and Robin for paving the cowpath with Proximity Events, Ambient Light and Vibration tests. Many of the existing test cases were re-usable.

Tracker, this is about ACTION-523.

Received on Friday, 24 August 2012 12:29:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:41 UTC