-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add <whitelist /> to the phpunit.xml.dist to support code coverage #47
Comments
Hi @mcspronko , |
Hi @underser In this way, we can run a code coverage tool and get the test coverage report. Let me know if you have questions. |
@mcspronko thank for quick response
btw, it still doesn't clear for me:
|
Hi @underser, yes, however a phpunit.xml.dist file should be created for each Magento 2 extension/directory. Meaning, the card-gateway should have its own phpunit.xml.dist and the whitelist configuration should only relate to card-gateway directory and so on. You can test it locally by running the command inside card-gateway directory: vendor/bin/phpunit Test --coverage-text=coverage_report.txt |
No description provided.
The text was updated successfully, but these errors were encountered: