implementation report generation - w3c/webpayments GitHub Wiki
Run the tests
- Install web platform tests per instructions
- Safari
./wpt run --log-wptreport "safari.json" --channel=preview safari payment-request/
- Chrome
./wpt run --log-wptreport "chrome.json" --binary=/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary chrome payment-request
- Remove any "tentative" results
- Move the results to test-results folder (see below!).
Generate the report
Prerequisites
- The report is generated using wptreport, so, install:
npm install -g wptreport
- Git clone the following repository:
git clone [email protected]:w3c/test-results.git
Generating the report
- In the "test-results" repo, navigate to the "payment-request" directory and run
wptreport
without any arguments. It does not take long to run. It will update "all.html" (and typically other files in the directory).
- Commit changed files; do a pull request.