{"id":17403737,"url":"https://github.com/link89/ava-demo","last_synced_at":"2025-03-27T22:34:24.701Z","repository":{"id":81055134,"uuid":"267104013","full_name":"link89/ava-demo","owner":"link89","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-03T04:08:49.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T00:47:51.101Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/link89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-26T17:10:05.000Z","updated_at":"2020-08-03T04:08:51.000Z","dependencies_parsed_at":"2023-03-25T13:34:15.823Z","dependency_job_id":null,"html_url":"https://github.com/link89/ava-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fava-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fava-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fava-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link89%2Fava-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/link89","download_url":"https://codeload.github.com/link89/ava-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245937244,"owners_count":20696974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-16T19:07:45.529Z","updated_at":"2025-03-27T22:34:24.641Z","avatar_url":"https://github.com/link89.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ava-demo\n\n## 01. code coverage collection and transform\n\n### Summary\nThis case is about\n* how to collect code coverage data on a `selenium` based test automation project via `cdp`\n* how to covert v8-format coverage data to istanbul-format\n\n### Run demo\nThis demo depends on `selenium`. You can install `selenium-standalone` and start a selenium server with it before you execute the example.\n\nExecute the example\n\n`npx ava --timeout=2m 01-webdriver-and-puppeteer.test.ts`\n\nThe v8-format coverage data will be in `v8-coverage.json`, convert it to istanbul-format via following command.\n\n`npx ts-node bin/to-istanbul-cov.ts cache output v8-coverage.json`\n\nYou will get istanbul-format coverage data under `output` folder.\n\nBefore generate coverage, you may need to restore the source code via source map data.\n\n`npx shuji cache/sources`\n\nNow you can generate html format report by following command\n\n`npx nyc report -t output --reporter html --report-dir output-html`\n\nYou can start a http server to view the report in browser\n\n`npx http-server output-html`\n\n\n## 02. coroutine level concurrency\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink89%2Fava-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink89%2Fava-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink89%2Fava-demo/lists"}