Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Behat code coverage report #256

Closed
swissspidy opened this issue Jun 29, 2023 · 0 comments · Fixed by #270
Closed

Fix Behat code coverage report #256

swissspidy opened this issue Jun 29, 2023 · 0 comments · Fixed by #270
Labels
[Component] CLI CLI commands and tooling [Component] Tests Focus on automated testing

Comments

@swissspidy
Copy link
Collaborator

IIRC code coverage for the Behat tests never properly worked with pcov.

I just got it working at WordPress/plugin-check#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:

$filter->includeDirectory( "{$root_folder}/includes" );
$filter->includeDirectory( "{$root_folder}/src" );

It should be inc.

Also, including the traduttore.php file would make sense.

@swissspidy swissspidy added [Component] CLI CLI commands and tooling [Component] Tests Focus on automated testing labels Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] CLI CLI commands and tooling [Component] Tests Focus on automated testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant