markcheret / footnotes

footnotes aims to be the all-in-one solution for displaying an automatically-generated list of references on your WordPress Page or Post.
https://wordpress.org/plugins/footnotes/#description
GNU General Public License v3.0
8 stars 6 forks source link

Automatically calculate test coverage #119

Open markcheret opened 3 years ago

markcheret commented 3 years ago

as #31 aims at implementing unit tests and our automation is also ready to start running the tests pre-merge of PRs, I'd love to see a stat of "percentage of code covered with unit tests" including a neat badge on the Readme page of the repo. This will also help with visibility for ourselves and as an encouragement to write a few more tests :)

markcheret commented 3 years ago

I've signed up for Covaralls, so we can run the tests and track the coverage via https://github.com/coverallsapp/github-action. They recommend doing the tests with atoum https://docs.coveralls.io/php