[Feature] How to enable cypress coverage for plugins #975
Labels
enhancement
New feature or request
technical debt
If not paid, jeapardizes long-term success and maintainability of the repository.
test:integration
Is your feature request related to a problem? Please describe.
Most of plugins use cypress for integration tests, which are not giving coverage currently. Cypress supports code coverage, I spent some time but couldn't get it to work. Here is what I tried:
Cypress shows 0 for all source files except the files used by tests. Looks like the code is not instrumented, I tried to clean cache and rebuild but didn't work. Could this be related to webpack config from core?
Describe the solution you'd like
Some guidance from core on how to instrument plugin code to enable code coverage
The text was updated successfully, but these errors were encountered: