dart-lang / pub-dev

The pub.dev website
https://pub.dev
BSD 3-Clause "New" or "Revised" License
782 stars 147 forks source link

Improved metrics: Measure and report test coverage #2095

Open dnfield opened 5 years ago

dnfield commented 5 years ago

It would be great if pub encouraged package authors to write tests for their code. If a repository has a lcov file, or perhaps a link to coveralls or some similar service, pub could calculate test coverage into the score for the package.

jonasfj commented 5 years ago

If we ran tests I think this would make sense, but without running tests it's just a vanity thing (as we can't tell how fresh the results are).

Don't get me wrong, running tests and publishing test coverage metrics would be awesome.

sigurdm commented 3 weeks ago

Still valid