Unit tests lack code coverage reporting and @covers annotations #1284
Labels
Infrastructure
Issues for the overall performance plugin infrastructure
[Type] Enhancement
A suggestion for improvement of an existing feature
Milestone
Feature Description
In looking at
plugins/webp-uploads/tests/test-load.php
, I noticed most of the tests lack@covers
annotations. We should add those throughout our unit tests to better keep track of the code being tested. We should also add code coverage reporting for the repo (with Codecov). Thephpunit
calls incomposer.json
should also add--strict-coverage
to report warnings when@covers
tags are wrong.The text was updated successfully, but these errors were encountered: