Closed BugrahanDurukan closed 7 months ago
This issue is stale because it has been open for 90 days with no activity.
I can't help fix the issue, but introduce a simple plugin to generate coverage reports for codeceptjs: https://github.com/cenfun/codeceptjs-monocart-coverage
thanks @cenfun for your solution, we decided to fix the issue using yours. 🎉
What are you trying to achieve?
I am trying to get the code coverage for my project which I keep my e2eTest project within. I am going according to the documentation: capturing code coverage. After I run all of the test with the plugin enabled, I get the json files in the output/coverage folder.
What do you get instead?
However, when I use the code piece for converting coverage to istanbul formate, I get this error
I guess the converter expects the system files to be in my e2eTest project. What am I doing wrong? Is there a healthy way to change the expected path for this?
Also, we decided that those files that I mentioned above are unneeded files so I tried to exclude those files by change the regex for the file variable to point to "module" folder's files.
But when I do that I get this error:
which means I capture nothing with my regex.
as you can see there is only one subhtml created
Details