Hi, I’m trying to gather code coverage data while ...
# docker
s
Hi, I’m trying to gather code coverage data while running “docker/sdk testing -x codecept run --coverage” and get
In ErrorHandler.php line 83:
file_get_contents(/c3/report/clear): failed to open stream: No such file or directory
I followed the instruction from codeception on installing c3.php, but I can’t get it to respond to the url /c3/report/clear any hints?
h
This is very tricky to get the C3 module up and running to also get coverage reports for acceptance/frontend tests in Spryker. I managed to get it running, but it took quite some time and I don't have a howto available right now. I thought about writing a manual for that though, but it will not be ready short-term
s
Getting Coverage for Unit-Tests would be a good first step, but I can’t even get that. 😞
h
why? that should work. do you get the same error mentioned above when you run (just) unit/functional tests?
s
i use -g Business, hoping to get only those. The grouping of the tests is a bit vague, and suites don’t seem to work as intended.
And even when I run onlz the CeckoutControllerTest, which is a Unit-Test, I get the same error.
h
is remote coverage disabled in your Codeception config like this?
Copy code
coverage:
  enabled: true
  remote: false
s
yes