Closed swissspidy closed 4 months ago
IIRC code coverage for the Behat tests never properly worked with pcov.
I just got it working at https://github.com/10up/plugin-check/pull/215 with xdebug though. So would be nice to do that here as well.
Another main issue with the setup here is that the source folders are configured incorrectly:
https://github.com/wearerequired/traduttore/blob/a9faec1a8e3b3ddbcb5222d12c2c3bbf17f069fc/tests/behat/maybe-generate-wp-cli-coverage.php#L15-L16
It should be inc.
inc
Also, including the traduttore.php file would make sense.
traduttore.php
IIRC code coverage for the Behat tests never properly worked with pcov.
I just got it working at https://github.com/10up/plugin-check/pull/215 with xdebug though. So would be nice to do that here as well.
Another main issue with the setup here is that the source folders are configured incorrectly:
https://github.com/wearerequired/traduttore/blob/a9faec1a8e3b3ddbcb5222d12c2c3bbf17f069fc/tests/behat/maybe-generate-wp-cli-coverage.php#L15-L16
It should be
inc
.Also, including the
traduttore.php
file would make sense.