• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / tools / 37540091391
94%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 10:38PM UTC
Jobs 1
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Oct 2026 10:21PM UTC coverage: 94.066% (+0.2%) from 93.912%
37540091391

push

github

web-flow
feat(coverage): support web coverage reports in test_with_coverage (#2448)

Add support for web (Chrome) coverage collection and formatting in `test_with_coverage`. **VM runs keep the existing collection flow.**

- Add a `-p` / `--platform` flag to `test_with_coverage`. Web (`chrome`) runs delegate to `dart test --coverage`; VM runs (the default, and `--function-coverage`) continue to use the existing VM-service collection flow.
- Reject unsupported combinations during argument parsing rather than silently degrading: platforms other than `vm` / `chrome`, `--function-coverage` or `--branch-coverage` combined with a web platform, and platform flags passed through to the test script (`-- -p ...`).
- Normalize `file:` URIs under a package's `lib/` root to `package:` URIs via `Resolver.toPackageUri` and apply `ScopedOutput.includesScript` in `HitMap.parseJsonSync` / `HitMap.parseJson` / `HitMap.parseFiles` so web runs report scoped library coverage matching VM semantics. Warn when no coverage data matches `--scope-output`.
- Pre-flight `package:test` verification in `package_config.json`.
- Fail fast and propagate the test process's exit code when the test process exits before the VM service is ready or before coverage collection finishes.

Towards https://github.com/dart-lang/tools/issues/2434

34 of 34 new or added lines in 4 files covered. (100.0%)

745 of 792 relevant lines covered (94.07%)

4.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37540091391.1 06 Oct 2026 10:38PM UTC 10
94.07
GitHub Action Run
Source Files on build 37540091391
  • Tree
  • List 10
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37540091391
  • 29df6348 on github
  • Prev Build on main (#37167886337)
  • Next Build on main (#38097698178)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc