There exists many badges that can be used to show build status, CRAN status, test coverage percentage, and many more other things.
I wonder if there is badge to show number of unit tests for a package ? That's important to know, and could bring some light about package robustness
It's not something I've seen in the wild, so I can't recommend anything.
Although for it to be useful you would need to know the number of functions in a package, and also the function complexity. Which then leads you back to test coverage.
1 Like
cderv
January 16, 2020, 11:47am
3
For reference, there is also an issue in testthat for this question
opened 09:36AM - 16 Jan 20 UTC
closed 12:00PM - 16 Jan 20 UTC
There exists many badges that can be used to show build status, CRAN status, tes… t coverage percentage, and many more other things.
**I wonder if there is badge to show number of unit tests for a package, that could be used as easily as other badges.**
That's important to know, and could bring some light about package robustness
Please follow the cross post policy
Posting the same question both here and on other sites
Posting the same question to multiple forums at the same time is often considered impolite. We don't completely ban such cross-posting, but we ask you to think hard before you do it and to follow some rules.
Cross-post sparingly
Rather than post the same thing here and elsewhere from the get-go, post in one place at a time. Let enough time go by (think days, not hours) before you take your question somewhere else. Sometimes people at another site may suggest you post here if your question doesn't fit within the scope of the other site.
Always link to your other posts, and update everywhere with any solution…
1 Like