Create multiple coverage files and merge them all together#245
Create multiple coverage files and merge them all together#245swissspidy merged 3 commits intomainfrom
Conversation
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
|
aand everything's passing now 🎉 |
|
Do you have an example you used to test this? Similar to your helpful comment here #241 (comment) is there a small change I can make in another project to see that this fixes the previous issues (since it doesn't seem possible to test it here directly) ? |
|
@mrsdizzie sure yeah. I tested this with the |
|
@swissspidy great! Followed those steps and agree it looks better and I see higher counts now |
See #241 and specifically #241 (comment)
In a nutshell:
wp cli infoinFeatureContext.FeatureContext, after finishing the test suite, merge all coverage files together into a single XML fileThis requires passing the
--xdebugflag to Behat so that it's available there. Otherwise we can't instantiate a newCodeCoverageclass. See wp-cli/.github#124 for adding this change in our CI.