Does test badges exist?

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

For reference, there is also an issue in testthat for this question

Please follow the cross post policy

1 Like