webbluetoothcg / manual-tests Goto Github PK
View Code? Open in Web Editor NEWManual tests for verifying use of the Web Bluetooth API.
License: Apache License 2.0
Manual tests for verifying use of the Web Bluetooth API.
License: Apache License 2.0
Create a template for external pull requests. This should include guidelines for development and formatting - best practices which cannot be caught by automated tests.
Currently the Web Bluetooth manual test coverage is listed in the internal document. We can consider to move the test coverage in the internal document to https://github.com/WebBluetoothCG/manual-tests/blob/main/README.md or create a new one called ROADMAP.md or TEST_COVERAGE.md. This way the information is easier to discover when browsing the test code files.
For each row entry in the test coverage list, in addition to show status and the API like currently we have in the internal document.
Status | Function/Attribute |
---|---|
โ | BluetoothCharacteristicProperties.read |
We can consider add another column to indicate that can be tested in what test directory in the repo or point to the test page (ex: https://webbluetoothcg.github.io/manual-tests/characteristic_read/)
Status | Function/Attribute | Test link |
---|---|---|
โ | BluetoothCharacteristicProperties.read | https://webbluetoothcg.github.io/manual-tests/characteristic_read/ |
Write test for implementation of https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetooth-getdevices.
Hi! My team at @bocoup is working on automating these bluetooth API tests for Chrome. We'd like to take a more general approach so other browsers can benefit from these tests once they have implemented the Web Bluetooth API. I want to outline our proposed approach here to get any preliminary feedback y'all might have.
tap
.
tap
test script that asserts the test passed.After this, we will proceed to implement the mocked utilities functionality for Chrome. This will primarily entail implementing the above utilities with puppeteer
.
$ cd run_tests/
$ npm install
$ npm run test -- --device [device name regex] --browser [browser name]
/run_tests/
index.js (cli file)
package.json (dependencies needed to run automated test suite)
test.js (wrapper for existing html tests)
driver-mock.js (interface mock)
shared/
shared.js (shared utilities not specific to any browser)
chrome/
driver.js (chrome implementations)
... (other chrome implementation files)
/scripts/run_tests/
instead of /run_tests/
)Please let me know if there's anything I can further clarify!
Publish all tests at a web site (likely https://pages.github.com/). This allows these tests to be easily run without the need to clone the repository and run a local web server.
Current WebBluetooth manual test suite doesn't have benchmark tests for testing the throughput. This would be helpful to be used to validate WebBluetooth implementation and ensure consistent performance across different platforms.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.